Antonino A. Daplas
6a2a88668e
[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>
2006-04-19 09:13:54 -07:00
..
2006-04-19 09:13:54 -07:00
2006-03-31 12:19:00 -08:00
2006-03-31 12:19:00 -08:00
2006-03-27 08:44:55 -08:00
2006-03-27 08:44:56 -08:00
2006-03-11 09:19:35 -08:00
2006-03-11 09:19:35 -08:00
2006-03-29 13:24:50 +11:00
2006-03-29 13:24:50 +11:00
2006-03-29 13:24:50 +11:00
2006-04-19 09:13:54 -07:00
2006-03-27 08:44:58 -08:00
2006-03-27 08:44:58 -08:00
2006-03-11 09:19:35 -08:00
2006-03-27 08:44:58 -08:00
2006-02-24 14:31:38 -08:00
2006-03-27 08:44:55 -08:00
2006-03-27 08:44:55 -08:00
2006-03-24 18:53:18 +01:00
2006-03-31 12:19:00 -08:00
2006-03-27 08:44:58 -08:00
2006-03-28 23:15:54 +11:00
2006-03-20 13:42:57 -08:00
2006-03-27 08:44:56 -08:00
2006-04-19 09:13:54 -07:00
2006-03-27 08:44:55 -08:00
2006-03-27 08:44:56 -08:00
2006-03-24 18:53:18 +01:00
2006-02-24 14:31:38 -08:00
2006-03-25 08:22:53 -08:00
2006-03-27 08:44:58 -08:00
2006-04-11 06:18:54 -07:00
2006-03-27 08:44:58 -08:00
2006-03-31 12:19:01 -08:00
2006-03-27 08:44:58 -08:00
2006-03-27 08:44:58 -08:00
2006-03-25 08:22:52 -08:00
2006-03-27 08:44:58 -08:00
2006-03-31 12:19:00 -08:00
2006-03-11 09:19:35 -08:00
2006-02-15 10:13:02 +00:00
2006-03-20 13:42:57 -08:00
2006-03-22 01:15:13 -08:00
2006-03-27 08:44:58 -08:00
2006-03-30 17:48:47 +00:00
2006-03-31 12:18:53 -08:00
2006-03-11 09:19:36 -08:00
2006-04-11 06:18:54 -07:00
2006-03-20 13:42:57 -08:00
2006-03-27 08:44:58 -08:00
2006-03-31 12:19:00 -08:00
2006-03-31 12:19:00 -08:00