summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorAnton Vorontsov2010-05-14 16:33:18 +0200
committerGreg Kroah-Hartman2010-05-20 22:21:46 +0200
commit7f1cccd3ec8789e52897bc34420ca81a5e2edeab (patch)
tree8f97a2d5879b9c7e130372552a2b42b239e97d59 /drivers/usb/serial
parentUSB: cp210x: remove redundant disconnect() (diff)
downloadkernel-qcow2-linux-7f1cccd3ec8789e52897bc34420ca81a5e2edeab.tar.gz
kernel-qcow2-linux-7f1cccd3ec8789e52897bc34420ca81a5e2edeab.tar.xz
kernel-qcow2-linux-7f1cccd3ec8789e52897bc34420ca81a5e2edeab.zip
USB: FHCI: cq_get() should check kfifo_out()'s return value
Since commit 7acd72eb85f1c7a15e8b5eb554994949241737f1 ("kfifo: rename kfifo_put... into kfifo_in... and kfifo_get... into kfifo_out..."), kfifo_out() is marked __must_check, and that causes gcc to produce lots of warnings like this: CC drivers/usb/host/fhci-mem.o In file included from drivers/usb/host/fhci-hcd.c:34: drivers/usb/host/fhci.h: In function 'cq_get': drivers/usb/host/fhci.h:520: warning: ignoring return value of 'kfifo_out', declared with attribute warn_unused_result ... This patch fixes the issue by properly checking the return value. Signed-off-by: Anton Vorontsov <avorontsov@mvista.com> Cc: stable <stable@kernel.org> [.33 and .34] Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions