diff options
| author | Ethan Tidmore <ethantidmore06@gmail.com> | 2026-03-07 06:03:55 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2026-03-11 03:05:35 +0300 |
| commit | 8dd088b8b106f7b119664f965b691785998edcfb (patch) | |
| tree | 542374002074d7fc7ddea410e7f5dea0e57b2324 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | b7ef8bbb9fbd43d33ecb92e23aa7c5a55dab5513 (diff) | |
| download | linux-8dd088b8b106f7b119664f965b691785998edcfb.tar.xz | |
media: intel/ipu6: fix error pointer dereference
In a error path isp->psys is confirmed to be an error pointer not NULL so
this condition is true and the error pointer is dereferenced. So isp-psys
should be set to NULL before going to out_ipu6_bus_del_devices.
Detected by Smatch:
drivers/media/pci/intel/ipu6/ipu6.c:690 ipu6_pci_probe() error:
'isp->psys' dereferencing possible ERR_PTR()
Fixes: 25fedc021985a ("media: intel/ipu6: add Intel IPU6 PCI device driver")
Cc: stable@vger.kernel.org
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
[Sakari Ailus: Fix commit message.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
