diff options
author | 2023-03-13 21:50:29 +0100 | |
---|---|---|
committer | 2023-03-18 16:11:25 +0000 | |
commit | 49f76c499d38bf67803438eee88c8300d0f6ce09 (patch) | |
tree | 16a70e9e50f94ebe0a0edbfce1303c74cda256d6 /scripts/generate_rust_analyzer.py | |
parent | iio: adc: max11410: fix read_poll_timeout() usage (diff) | |
download | wireguard-linux-49f76c499d38bf67803438eee88c8300d0f6ce09.tar.xz wireguard-linux-49f76c499d38bf67803438eee88c8300d0f6ce09.zip |
iio: adc: palmas_gpadc: fix NULL dereference on rmmod
Calling dev_to_iio_dev() on a platform device pointer is undefined and
will make adc NULL.
Signed-off-by: Patrik Dahlström <risca@dalakolonin.se>
Link: https://lore.kernel.org/r/20230313205029.1881745-1-risca@dalakolonin.se
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions