aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorPatrik Dahlström <[email protected]>2023-03-13 21:50:29 +0100
committerJonathan Cameron <[email protected]>2023-03-18 16:11:25 +0000
commit49f76c499d38bf67803438eee88c8300d0f6ce09 (patch)
tree16a70e9e50f94ebe0a0edbfce1303c74cda256d6 /lib/mpi/mpi-bit.c
parent7b3825e9487d77e83bf1e27b10a74cd729b8f972 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions