From: Antonino A. Daplas Date: Tue, 10 Jan 2006 04:53:37 +0000 (-0800) Subject: [PATCH] fbdev: Fix return code of fb_read and fb_write X-Git-Tag: v2.6.16-rc1~523 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a484a3af905a256cbdd7079defceac62b39e8fa;p=pandora-kernel.git [PATCH] fbdev: Fix return code of fb_read and fb_write Make fb_read() and fb_write() return 0 (EOF) instead of -ENOSPC if reading at or past the end of the framebuffer. This fixes user space apps hanging if info->fix.smem_len == 0. Whitespace changes. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed