This patch makes sure we check the return value of copy_to_user() in
drivers/ieee1394/raw1394.c::raw1394_read() with the added bonus of silencing this warning: include/asm/uaccess.h: In function `raw1394_read': drivers/ieee1394/raw1394.c:446: warning: ignoring return value of `__copy_to_user', declared with attribute warn_unused_result I've submitted this before, but never got an ACK or NACK, and the patch is still relevant against latest Linus bk (2.6.10-rc2-bk11 atm). Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Jody McIntyre <scjody@modernduck.com>
Showing
Please register or sign in to comment