summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-09-25 21:17:33 +0800
committerJonathan Cameron <jonathan.cameron@oss.qualcomm.com>2026-09-28 17:07:34 +0100
commit2f3196d27e3bfcee0569d23a123aedcc6ddd39f1 (patch)
treea254e494b7a62b67c5fd594e0dcd4b705542ae13 /tools/perf/scripts/python
parent6ac1faf4de61dcf27ffe8f2c25d96fe5f4b2886d (diff)
downloadlinux-next-2f3196d27e3bfcee0569d23a123aedcc6ddd39f1.tar.gz
linux-next-2f3196d27e3bfcee0569d23a123aedcc6ddd39f1.zip
iio: frequency: adf4377: reject devices without 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 the result is later dereferenced by the property parsing and initialization paths. Reject devices without match data before continuing probe. Fixes: 6140a92cd086 ("iio: frequency: adf4377: add adf4378 support") 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