linux_dsm_epyc7002/drivers/media/usb/em28xx
Hans Verkuil 2df34d3a27 media: em28xx: fix two smatch warnings
Use sizeof instead of ARRAY_SIZE to fix this smatch warning:

drivers/media/usb/em28xx/em28xx-i2c.c:952 em28xx_do_i2c_scan() warn: calling memset(x, y, ARRAY_SIZE());

Do the same for the em28xx_hash_mem() call in the same function.
smatch didn't pick that up, but there too it should use sizeof instead
of ARRAY_SIZE.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2019-11-08 07:27:14 +01:00
..
em28xx-audio.c media: delete unused proc_fs.h include 2019-10-07 07:31:36 -03:00
em28xx-camera.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
em28xx-cards.c media: em28xx: Add support for Magix Wideowandler 2 2019-10-07 07:43:55 -03:00
em28xx-core.c media: em28xx: Fix exception handling in em28xx_alloc_urbs() 2019-08-29 10:22:20 -03:00
em28xx-dvb.c media: em28xx: make various arrays static const, makes object smaller 2019-10-01 16:44:28 -03:00
em28xx-i2c.c media: em28xx: fix two smatch warnings 2019-11-08 07:27:14 +01:00
em28xx-input.c media: em28xx: use usb_to_input_id() rather than handrolling it 2019-05-29 12:57:37 -04:00
em28xx-reg.h media: usb: fix several typos 2019-03-01 09:43:27 -05:00
em28xx-v4l.h media: update/fix my e-mail on some places 2018-05-10 07:27:15 -04:00
em28xx-vbi.c media: em28xx: Add SPDX license tags where needed 2018-03-06 05:54:52 -05:00
em28xx-video.c media: Fix various misspellings of disconnected 2019-08-19 12:02:28 -03:00
em28xx.h media: em28xx: Add support for Magix Wideowandler 2 2019-10-07 07:43:55 -03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00