summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-11-03 12:23:35 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2019-11-08 07:27:14 +0100
commit2df34d3a27c1f3b043689edb017a6572ac8a7934 (patch)
treec878c0e312e926e856678c28f0e1f31ca9311b54 /drivers/media/platform
parent492b53a50a1c565d067f48de96b85336f1ea601e (diff)
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>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions