fbmem.c : FBIOGETCMAP
From: Jon Smirl <hidden>
Date: 2003-01-05 20:18:39
I'm using 2.53 and I ran into this when running fbtest. It looks like a return went missing. case FBIOGETCMAP: if (copy_from_user(&cmap, (void *) arg, sizeof(cmap))) return -EFAULT; fb_copy_cmap(&info->cmap, &cmap, 0); case FBIOPAN_DISPLAY: In 2.4 it looked like this: case FBIOGETCMAP: if (copy_from_user(&cmap, (void *) arg, sizeof(cmap))) return -EFAULT; return (fb->fb_get_cmap(&cmap, 0, PROC_CONSOLE(info), info)); case FBIOPAN_DISPLAY: ===== Jon Smirl jonsmirl@yahoo.com __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf