aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorStefani Seibold <[email protected]>2009-12-21 22:37:29 +0000
committerLinus Torvalds <[email protected]>2009-12-22 22:17:56 +0000
commit9842c38e917636fa7dc6b88aff17a8f1fd7f0cc0 (patch)
tree71d0b52ddc243743046bba9f774beca9febc393a /lib/debugobjects.c
parentkfifo: rename kfifo_put... into kfifo_in... and kfifo_get... into kfifo_out... (diff)
downloadkernel-9842c38e917636fa7dc6b88aff17a8f1fd7f0cc0.tar.gz
kernel-9842c38e917636fa7dc6b88aff17a8f1fd7f0cc0.zip
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions