diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-11-03 14:23:34 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2019-11-08 09:26:33 +0300 |
commit | 492b53a50a1c565d067f48de96b85336f1ea601e (patch) | |
tree | 829ef3775e90ead2e8c9fa1aebae70344fc55268 /drivers/media/rc/tango-ir.c | |
parent | c4abb192caca96a53c2e833d25b1f7f12b454bf4 (diff) | |
download | linux-492b53a50a1c565d067f48de96b85336f1ea601e.tar.xz |
media: rc/ite-cir: fix smatch warning
Use sizeof instead of ARRAY_SIZE to fix this smatch warning:
drivers/media/rc/ite-cir.c:385 ite_tx_ir() warn: calling memset(x, y, ARRAY_SIZE());
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/rc/tango-ir.c')
0 files changed, 0 insertions, 0 deletions