aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDragos Bogdan <[email protected]>2023-10-25 15:21:00 +0200
committerGuenter Roeck <[email protected]>2023-10-25 11:56:22 -0700
commit2a5b3370a1d9750eca325292e291c8c7cb8cf2e0 (patch)
tree441379db28da08940db07f30a0fa744d18456707 /lib/string_helpers.c
parent6465e260f48790807eef06b583b38ca9789b6072 (diff)
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 <[email protected]> Signed-off-by: Nuno Sa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions