-
- Downloads
kfifo: fix warn_unused_result
Fix the "ignoring return value of '...', declared with attribute warn_unused_result" compiler warning in several users of the new kfifo API. It removes the __must_check attribute from kfifo_in() and kfifo_in_locked() which must not necessary performed. Fix the allocation bug in the nozomi driver file, by moving out the kfifo_alloc from the interrupt handler into the probe function. Fix the kfifo_out() and kfifo_out_locked() users to handle a unexpected end of fifo. Signed-off-by:Stefani Seibold <stefani@seibold.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- drivers/char/nozomi.c 27 additions, 4 deletionsdrivers/char/nozomi.c
- drivers/infiniband/hw/cxgb3/cxio_resource.c 3 additions, 2 deletionsdrivers/infiniband/hw/cxgb3/cxio_resource.c
- drivers/media/video/meye.c 3 additions, 2 deletionsdrivers/media/video/meye.c
- drivers/net/wireless/libertas/main.c 4 additions, 2 deletionsdrivers/net/wireless/libertas/main.c
- drivers/scsi/libiscsi_tcp.c 7 additions, 2 deletionsdrivers/scsi/libiscsi_tcp.c
- drivers/scsi/libsrp.c 5 additions, 2 deletionsdrivers/scsi/libsrp.c
- include/linux/kfifo.h 2 additions, 2 deletionsinclude/linux/kfifo.h
Loading
Please register or sign in to comment