aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2021-03-19 17:41:39 +0100
committerMauro Carvalho Chehab <[email protected]>2021-04-09 13:16:56 +0200
commit5f58ac04f36e32507d8f60fd47266ae2a60a2fa8 (patch)
tree03d4e1e8e9f6a54b3205b5def3ba7916e5743163 /tools/perf/scripts/python/exported-sql-viewer.py
parentcdc62bfba0d71a5e88fe6a83a6cfc69f05a6f26b (diff)
media: i2c: rdamc21: Fix warning on u8 cast
Sparse reports a warning on a cast to u8 of a 16 bits constant. drivers/media/i2c/rdacm21.c:348:62: warning: cast truncates bits from constant value (300a becomes a) Even if the behaviour is intended, silence the sparse warning replacing the cast with a bitwise & operation. Fixes: a59f853b3b4b ("media: i2c: Add driver for RDACM21 camera module") Reported-by: Hans Verkuil <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Jacopo Mondi <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions