linux_dsm_epyc7002/drivers/media/usb
Christophe JAILLET f81a18d860 [media] tm6000: Fix resource freeing in 'tm6000_prepare_isoc()'
'usb_free_urb(urb)' is a no-op, because urb is known to be NULL.

It is likelly that releasing resources allocated by
'tm6000_alloc_urb_buffers()' just a few lines above is expected here.

This has been spotted by the following coccinelle script:
@@
expression ret, x, e;
identifier f;
@@

*   if (x == NULL)
    {
     ... when != x = e;
(
*    f(<+...x...+>);
|
*    ret = f(<+...x...+>);
)
     ...
    }

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-17 13:11:45 -03:00
..
airspy [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
as102 media: usb: as102: as102_usb_drv: don't print error when allocating urb fails 2016-08-30 19:13:53 +02:00
au0828 [media] usb: au0828: remove redundant code 2017-04-05 15:10:07 -03:00
b2c2 [media] b2c2: don't break long lines 2016-10-21 09:38:31 -02:00
cpia2 sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
cx231xx [media] cx231xx-audio: fix NULL-deref at probe 2017-04-10 07:34:46 -03:00
dvb-usb [media] dvb-usb-dibusb-mc-common: Add MODULE_LICENSE 2017-04-17 12:11:13 -03:00
dvb-usb-v2 [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
em28xx [media] em28xx: drop last soc_camera link 2017-04-10 14:28:39 -03:00
go7007 [media] go7007: improve subscribe event handling 2017-03-22 10:12:21 -03:00
gspca [media] gspca: konica: add missing endpoint sanity check 2017-04-05 15:07:31 -03:00
hackrf [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
hdpvr [media] hdpvr: fix interrupted recording 2016-11-16 13:30:30 -02:00
msi2500 [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
pulse8-cec [media] usb: pulse8-cec: Use cec_get_drvdata() 2017-04-05 15:20:01 -03:00
pvrusb2 [media] tveeprom: get rid of unused arg on tveeprom_hauppauge_analog() 2017-03-03 07:35:02 -03:00
pwc Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
rainshadow-cec [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00
s2255 [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
siano [media] siano: make it work again with CONFIG_VMAP_STACK 2017-02-14 18:13:49 -02:00
stk1160 [media] stk1160: make some functions static 2017-02-03 11:30:37 -02:00
stkwebcam [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
tm6000 [media] tm6000: Fix resource freeing in 'tm6000_prepare_isoc()' 2017-04-17 13:11:45 -03:00
ttusb-budget [media] ttusb-budget: don't break long lines 2016-10-21 09:54:20 -02:00
ttusb-dec [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
usbtv [media] usbtv: add sharpness control 2017-02-08 11:57:24 -02:00
usbvision [media] usbvision: fix NULL-deref at probe 2017-04-10 07:30:58 -03:00
uvc [media] uvcvideo: Add support for Intel SR300 depth camera 2017-04-10 07:47:34 -03:00
zr364xx [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
Kconfig [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00
Makefile [media] rainshadow-cec: new RainShadow Tech HDMI CEC driver 2017-04-10 12:42:10 -03:00