From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Smirl Subject: fbmem.c : FBIOGETCMAP Date: Sun, 5 Jan 2003 12:18:37 -0800 (PST) Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <20030105201837.26561.qmail@web14914.mail.yahoo.com> Mime-Version: 1.0 Return-path: Received: from web14914.mail.yahoo.com ([216.136.225.241]) by sc8-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18VHEF-0005hi-00 for ; Sun, 05 Jan 2003 12:18:39 -0800 Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: fbdev 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