Re: [PATCH] hwmon: (axi-fan-control) Fix possible NULL pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 25, 2023 at 03:21:00PM +0200, Nuno Sa wrote:
> From: Dragos Bogdan <dragos.bogdan@xxxxxxxxxx>
> 
> 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.
> 

Applied, but, please,

> Fixes: 8412b41 ("hwmon: Support ADI Fan Control IP")

WARNING: Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("<title line>")' - ie: 'Fixes: 8412b410fa5e ("hwmon: Support ADI Fan Control IP")'
#88:
Fixes: 8412b41 ("hwmon: Support ADI Fan Control IP")

consider running checkpatch on your patches in the future.

Guenter



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux