diff options
| author | Tom Rix <trix@redhat.com> | 2020-08-30 18:30:43 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-26 10:24:09 +0200 |
| commit | 274cf92d5dff5c2fec1a518078542ffe70d07646 (patch) | |
| tree | 03d0cecf7cfb44759fd59a3c8d72cd5b86b12c56 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 0ca9454740b05eec199c5ffdb23a79eb44437917 (diff) | |
media: tc358743: initialize variable
clang static analysis flags this error
tc358743.c:1468:9: warning: Branch condition evaluates
to a garbage value
return handled ? IRQ_HANDLED : IRQ_NONE;
^~~~~~~
handled should be initialized to false.
Fixes: d747b806abf4 ("[media] tc358743: add direct interrupt handling")
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
