diff options
| author | Rodrigo Alencar <rodrigo.alencar@analog.com> | 2026-07-16 13:14:18 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-07-19 23:16:13 +0100 |
| commit | 572a008526359cdac2fa935dad75e9d50a79792f (patch) | |
| tree | d0a91bc5438c5dba4731a4f8d94eab68250489a9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a1c5ca7b8034efe2870a0e31aa1200530ead513f (diff) | |
iio: dac: ad5686: missing NULL check on match data
Verify that chip_info pointer is not NULL. If a user binds the driver
using driver_override via sysfs with a device name not present in the
id_table or of_match_table, match data will be NULL.
Fixes: 0eb1728461a1 ("iio: dac: ad5686: drop enum id")
Reported-by: sashiko-bot@kernel.org
Closes: https://lore.kernel.org/all/20260710113149.53EC51F000E9@smtp.kernel.org/
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
