summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2006-04-18 22:22:12 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-19 09:13:54 -0700
commit6a2a88668e90cd2459d0493e3e3ff17c3557febc (patch)
treef2a2b2426312541731082b8c6915e80727337a27 /fs
parenta61bdaad6c696e850d8fa412f1f201cbca51ad30 (diff)
downloadop-kernel-dev-6a2a88668e90cd2459d0493e3e3ff17c3557febc.zip
op-kernel-dev-6a2a88668e90cd2459d0493e3e3ff17c3557febc.tar.gz
[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 <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud