summaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-02-07 04:13:33 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-02-07 12:37:17 -0500
commitd75e77ed14f86034ace17e65ab6a6261dd0858c2 (patch)
treede39ed8fcbb0dbc564369a9c57000fcdd078dad3 /drivers/media/platform
parenta4d3d61254d3645d8de738102c3c473b176180a5 (diff)
media: hdpvr: fix smatch warning
drivers/media/usb/hdpvr/hdpvr-i2c.c: drivers/media/usb/hdpvr/hdpvr-i2c.c:78 hdpvr_i2c_read() warn: 'dev->i2c_buf' 4216624615462223872 can't fit into 127 '*data' dev->i2c_buf is a char array, so you can just use dev->i2c_buf to get the start address, no need to do &dev->i2c_buf, even though it is the same address in C. It only confuses smatch. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions