diff options
author | Hans Verkuil <[email protected]> | 2023-10-19 08:58:49 +0200 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-02-05 12:57:44 +0100 |
commit | 15126b916e39b0cb67026b0af3c014bfeb1f76b3 (patch) | |
tree | 1e5f1e580c301124aa3aa80ac7a50b44111e54bd /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 35546945e5e5cce825d2b92e1ecc3f4ac70ec1dc (diff) |
media: pci: cx23885: check cx23885_vdev_init() return
cx23885_vdev_init() can return a NULL pointer, but that pointer
is used in the next line without a check.
Add a NULL pointer check and go to the error unwind if it is NULL.
Signed-off-by: Hans Verkuil <[email protected]>
Reported-by: Sicong Huang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions