[PATCH] mfd: macsmc: Initialize mutex

Sven Peter sven at kernel.org
Wed Oct 8 07:20:57 PDT 2025


On 25.09.25 22:33, Janne Grunau wrote:
> Struct apple_smc's mutex was not initialized before use. Surprisingly
> this only resulted in occasional NULL pointer dereferences in
> apple_smc_read() calls from the probe() functions of sub devices.
> 
> Fixes: e038d985c9823 ("mfd: Add Apple Silicon System Management Controller")
> Signed-off-by: Janne Grunau <j at jannau.net>
> ---

Reviewed-by: Sven Peter <sven at kernel.org>


Thanks,


Sven




More information about the linux-arm-kernel mailing list