[media] dvb-usb: warn if return value for USB read/write routines is not checked
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 14:41:13 +0000 (11:41 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:52:31 +0000 (12:52 -0300)
commit11a1e0ed7908f04c896e69d0eb65e478c12f8519
tree71fe5ec4889ed244b9bb06802f585f2debd91808
parent59dde8e70cfb7afbc1b647d7d3440dfb9a78b431
[media] dvb-usb: warn if return value for USB read/write routines is not checked

the return values for dvb_usb_generic_rw() and dvb_usb_generic_write()
should be checked, as otherwise the drivers won't be doing the right
thing in the case of errors.

So, add __must_check to both declarations.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/dvb-usb.h