From: Antonino A. Daplas Date: Wed, 19 Apr 2006 05:22:12 +0000 (-0700) Subject: [PATCH] fbdev: Fix return error of fb_write X-Git-Tag: v2.6.17-rc3~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a2a88668e90cd2459d0493e3e3ff17c3557febc;p=pandora-kernel.git [PATCH] fbdev: Fix return error of fb_write Fix return code of fb_write(): If at least 1 byte was transferred to the device, return number of bytes, otherwise: - return -EFBIG - if file offset is past the maximum allowable offset or size is greater than framebuffer length - return -ENOSPC - if size is greater than framebuffer length - offset Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed