diff options
Diffstat (limited to 'sys-kernel/ck-sources/files/ck-sources-2.6.4.CAN-2004-0229.patch')
-rw-r--r-- | sys-kernel/ck-sources/files/ck-sources-2.6.4.CAN-2004-0229.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/files/ck-sources-2.6.4.CAN-2004-0229.patch b/sys-kernel/ck-sources/files/ck-sources-2.6.4.CAN-2004-0229.patch new file mode 100644 index 000000000000..2b6dfff88e25 --- /dev/null +++ b/sys-kernel/ck-sources/files/ck-sources-2.6.4.CAN-2004-0229.patch @@ -0,0 +1,11 @@ +--- linux-2.6.3/drivers/video/fbmem.c.zy67 2004-04-23 07:32:22.000000000 -0400 ++++ linux-2.6.3/drivers/video/fbmem.c 2004-04-23 07:33:09.000000000 -0400 +@@ -1042,7 +1042,7 @@ + case FBIOGETCMAP: + if (copy_from_user(&cmap, (void *) arg, sizeof(cmap))) + return -EFAULT; +- return (fb_copy_cmap(&info->cmap, &cmap, 0)); ++ return (fb_copy_cmap(&info->cmap, &cmap, 2)); + case FBIOPAN_DISPLAY: + if (copy_from_user(&var, (void *) arg, sizeof(var))) + return -EFAULT; |