eb70ac1b1e
The fix is to check for ret and return -EFAULT if non-zero. I also noticed that write() didn't return the number of bytes written. Fixed as well. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
fmdrv.h | ||
fmdrv_common.c | ||
fmdrv_common.h | ||
fmdrv_rx.c | ||
fmdrv_rx.h | ||
fmdrv_tx.c | ||
fmdrv_tx.h | ||
fmdrv_v4l2.c | ||
fmdrv_v4l2.h | ||
Kconfig | ||
Makefile |