summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRupesh Majhi <zoone.rupert@gmail.com>2026-07-19 03:07:52 +0300
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-08-07 23:51:04 +0100
commit26e9213898fc949923188ef0aeea31fc87708836 (patch)
tree824bb5a3425a3816771dab1844a71a6d481be06f /tools/perf/scripts/python
parent8662e56c31cf23b61ca3d11b516efb94c35b8026 (diff)
iio: pressure: dps310: fix NULL pointer dereference on ACPI probe
When the device is enumerated through its ACPI HID (IFX3100), i2c_client_get_device_id() returns NULL: the ACPI-derived client name does not match the driver's i2c_device_id table. dps310_probe() then dereferences that NULL pointer in "iio->name = id->name" and crashes the kernel during probe. The IIO device name is always "dps310", so set it directly and drop the now-unused device-id lookup. Fixes: 72ff282819d0 ("iio: pressure: dps310: Add ACPI HID table") Cc: stable@vger.kernel.org Signed-off-by: Rupesh Majhi <zoone.rupert@gmail.com> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions