aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-27 14:26:25 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-14 10:48:01 -0800
commit0dc2f4dcf99e372f49538e6c9949891d08d3091d (patch)
tree55bf360a08c58fbf5ddba0aead6782ee9023f544 /drivers/net/xen-netback/interface.c
parent6d468d117d8853f9235480cf6329b99868290b23 (diff)
media: pwc-if: must check vb2_queue_init() success
commit eda94710d6502672c5ee7de198fa78a63ddfae3a upstream. drivers/media/usb/pwc/pwc-if.c: In function 'usb_pwc_probe': drivers/media/usb/pwc/pwc-if.c:1003:16: warning: ignoring return value of 'vb2_queue_init', declared with attribute warn_unused_result [-Wunused-result] In the past, it used to have a logic there at queue init that would BUG() on errors. This logic got removed. Drivers are now required to explicitly handle the queue initialization errors, or very bad things may happen. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions