Messages in this thread | | | Subject | Re: [PATCH] fbdev: Fix return error of fb_write | From | Richard Purdie <> | Date | Mon, 17 Apr 2006 15:45:10 +0100 |
| |
On Sat, 2006-04-15 at 13:38 +0800, Antonino A. Daplas wrote: > 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>
I can confirm this fixes the problem I reported, thanks!
Richard
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |