diff options
author | Dragos Bogdan <dragos.bogdan@analog.com> | 2023-10-25 16:21:00 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-10-25 21:56:22 +0300 |
commit | 2a5b3370a1d9750eca325292e291c8c7cb8cf2e0 (patch) | |
tree | 441379db28da08940db07f30a0fa744d18456707 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6465e260f48790807eef06b583b38ca9789b6072 (diff) | |
download | linux-2a5b3370a1d9750eca325292e291c8c7cb8cf2e0.tar.xz |
hwmon: (axi-fan-control) Fix possible NULL pointer dereference
axi_fan_control_irq_handler(), dependent on the private
axi_fan_control_data structure, might be called before the hwmon
device is registered. That will cause an "Unable to handle kernel
NULL pointer dereference" error.
Fixes: 8412b410fa5e ("hwmon: Support ADI Fan Control IP")
Signed-off-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20231025132100.649499-1-nuno.sa@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions