linux-sg2042/drivers/media/usb/usbvision
Markus Elfring 1fbfd8c13a media: usbvision: Improve a size determination in usbvision_alloc()
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-27 08:48:47 -04:00
..
Kconfig [media] Kconfig: merge all customise options into just one 2012-08-21 08:05:06 -03:00
Makefile
usbvision-cards.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
usbvision-cards.h
usbvision-core.c [media] media/usbvision: remove ctrl_urb_wq 2017-02-03 13:40:20 -02:00
usbvision-i2c.c media: usb: make i2c_adapter const 2017-08-26 08:41:58 -04:00
usbvision-video.c media: usbvision: Improve a size determination in usbvision_alloc() 2017-08-27 08:48:47 -04:00
usbvision.h [media] media/usbvision: remove ctrl_urb_wq 2017-02-03 13:40:20 -02:00