diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-06-10 08:11:40 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-17 10:25:23 +0200 |
commit | 7629cbd6872f6aef0b7f1e20812194f4f4249bb2 (patch) | |
tree | 98e2519bf6a727d7b6a460378184b0381ac1daa1 /drivers/media/i2c/tc358743.c | |
parent | 00ae4ebc2d07db50d8432ebec3158c96b36f1a6d (diff) |
media: adv7842: remove spurious & and fix vga_edid size
No need to use & to get the start address of an array.
Fix the size of vga_edid.edid to a single block (128 bytes) to fix
this smatch error:
adv7842.c:2538 adv7842_set_edid() error: memcpy() '&state->vga_edid.edid' too small (128 vs 512)
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/tc358743.c')
0 files changed, 0 insertions, 0 deletions