aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-08-19 01:56:49 +0200
committerMauro Carvalho Chehab <[email protected]>2020-09-10 14:06:27 +0200
commit171994e498a0426cbe17f874c5c6af3c0af45200 (patch)
tree8913618d845b41fb400db6e0830f5492a2f53604 /tools/perf/scripts/python/syscall-counts.py
parentf875bcc375c738bf2f599ff2e1c5b918dbd07c45 (diff)
media: uvcvideo: Silence shift-out-of-bounds warning
UBSAN reports a shift-out-of-bounds warning in uvc_get_le_value(). The report is correct, but the issue should be harmless as the computed value isn't used when the shift is negative. This may however cause incorrect behaviour if a negative shift could generate adverse side effects (such as a trap on some architectures for instance). Regardless of whether that may happen or not, silence the warning as a full WARN backtrace isn't nice. Reported-by: Bart Van Assche <[email protected]> Fixes: c0efd232929c ("V4L/DVB (8145a): USB Video Class driver") Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Tested-by: Bart Van Assche <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions