Anton Vorontsov
7f1cccd3ec
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>
2010-05-20 13:21:46 -07:00
..
2010-05-20 13:21:41 -07:00
2010-03-02 14:53:18 -08:00
2010-05-20 13:21:45 -07:00
2009-09-23 06:46:29 -07:00
2010-05-20 13:21:45 -07:00
2007-05-23 20:14:15 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:45 -07:00
2009-07-12 15:16:39 -07:00
2010-04-22 15:18:28 -07:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:45 -07:00
2010-03-02 14:53:17 -08:00
2010-05-20 13:21:45 -07:00
2010-03-02 14:54:59 -08:00
2009-07-12 15:16:39 -07:00
2010-05-20 13:21:41 -07:00
2010-04-22 15:18:28 -07:00
2009-09-23 06:46:20 -07:00
2010-03-02 14:54:59 -08:00
2010-05-20 13:21:45 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:30 -07:00
2010-05-20 13:21:46 -07:00
2010-03-30 22:02:32 +09:00
2010-03-02 14:52:55 -08:00
2010-05-20 13:21:30 -07:00
2010-03-02 14:52:55 -08:00
2010-05-20 13:21:30 -07:00
2009-03-24 16:20:30 -07:00
2010-05-20 13:21:39 -07:00
2009-12-11 11:55:20 -08:00
2010-05-20 13:21:44 -07:00
2009-09-23 06:46:29 -07:00
2010-05-20 13:21:42 -07:00
2010-05-20 13:21:44 -07:00
2010-03-19 07:24:08 -07:00
2010-04-30 09:25:12 -07:00
2009-12-15 08:53:25 -08:00
2010-04-22 15:18:24 -07:00
2010-03-02 14:54:59 -08:00
2009-09-23 06:46:34 -07:00
2010-05-20 13:21:44 -07:00
2010-04-30 09:25:10 -07:00
2010-03-02 14:54:59 -08:00
2007-10-12 14:54:59 -07:00
2010-05-20 13:21:44 -07:00
2009-10-20 09:40:47 -07:00
2009-11-17 16:46:33 -08:00
2010-03-02 14:55:15 -08:00
2008-08-21 10:26:38 -07:00
2010-03-02 14:54:59 -08:00
2010-03-02 14:54:59 -08:00
2009-06-16 14:17:32 +10:00
2009-12-15 08:53:25 -08:00
2010-03-30 22:02:32 +09:00
2009-03-24 16:20:45 -07:00
2010-03-02 14:54:59 -08:00
2008-08-21 10:26:38 -07:00
2008-08-21 10:26:38 -07:00
2008-08-21 10:26:38 -07:00
2009-01-07 09:59:52 -08:00
2009-11-17 16:46:33 -08:00
2010-05-20 13:21:31 -07:00
2009-03-24 16:20:33 -07:00
2009-10-11 15:57:57 -07:00
2010-05-20 13:21:31 -07:00
2009-07-23 13:04:10 +09:00
2009-11-28 18:03:14 +01:00
2010-05-20 13:21:31 -07:00
2008-07-25 10:53:29 -07:00
2010-05-20 13:21:43 -07:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:30 -07:00
2009-03-24 16:20:33 -07:00
2010-01-20 15:24:34 -08:00
2009-09-23 06:46:30 -07:00
2010-05-20 13:21:38 -07:00
2010-03-02 14:55:02 -08:00
2010-05-20 13:21:45 -07:00
2010-05-20 13:21:40 -07:00
2010-05-20 13:21:39 -07:00
2010-05-20 13:21:44 -07:00
2010-05-20 13:21:43 -07:00
2010-05-20 13:21:38 -07:00