summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-09-25 21:17:31 +0800
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-28 17:07:34 +0100
commit85e2c8ca7ac9e39a61e7fb18728918f6e966f439 (patch)
tree06ca8556f172a5d37ebf4ad503e35043cedc3e43 /tools/perf/scripts/python
parenta3f438368c596040efbc44aa8a65e4e5ef2f3847 (diff)
downloadlinux-next-85e2c8ca7ac9e39a61e7fb18728918f6e966f439.tar.gz
linux-next-85e2c8ca7ac9e39a61e7fb18728918f6e966f439.zip
iio: dac: ad5755: validate SPI match data
A device bound through driver_override need not match an entry in the driver tables. In that case spi_get_device_match_data() returns NULL, but ad5755_probe() stores and later dereferences the result. Validate the match data before it is used. Fixes: 62d3fb9dcc09 ("iio: dac: ad5755: make use of of_device_id table") Signed-off-by: Jiale Yao <yaojiale02@163.com> Cc: stable@vger.kernel.org Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions