diff options
| author | Antonino A. Daplas <[email protected]> | 2006-04-19 05:22:12 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-04-19 16:13:54 +0000 |
| commit | 6a2a88668e90cd2459d0493e3e3ff17c3557febc (patch) | |
| tree | f2a2b2426312541731082b8c6915e80727337a27 /arch/powerpc/sysdev/dart_iommu.c | |
| parent | [PATCH] savagefb: fix section mismatch warnings (diff) | |
| download | kernel-6a2a88668e90cd2459d0493e3e3ff17c3557febc.tar.gz kernel-6a2a88668e90cd2459d0493e3e3ff17c3557febc.zip | |
[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/dart_iommu.c')
0 files changed, 0 insertions, 0 deletions
