diff options
author | 2023-10-13 09:43:55 +0200 | |
---|---|---|
committer | 2023-10-13 11:33:22 +0200 | |
commit | be521bf7bfad4e4bd4c3e1d2853aeb563a1e51d6 (patch) | |
tree | bacabddf4ed5b69f4c3b826205680aeae579b394 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | media: pci: mgb4: fix potential spectre vulnerability (diff) | |
download | wireguard-linux-be521bf7bfad4e4bd4c3e1d2853aeb563a1e51d6.tar.xz wireguard-linux-be521bf7bfad4e4bd4c3e1d2853aeb563a1e51d6.zip |
media: pci: cx18: if cx == NULL, then don't use it.
If the cx NULL pointer check is true, then it reports
an error with CX18_ERR, but that uses cx. Replace it with
pr_err.
Reported by smatch:
drivers/media/pci/cx18/cx18-mailbox.c:834 cx18_vapi() error: we previously assumed 'cx' could be null (see line 833)
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions