(subset) [PATCH v2] mfd: macsmc: Initialize mutex
Lee Jones
lee at kernel.org
Fri Jan 9 09:30:56 PST 2026
On Wed, 31 Dec 2025 10:42:12 +0100, Janne Grunau wrote:
> Initialize struct apple_smc's mutex in apple_smc_probe(). Using the
> mutex uninitialized surprisingly resulted only in occasional NULL
> pointer dereferences in apple_smc_read() calls from the probe()
> functions of sub devices.
>
>
Applied, thanks!
[1/1] mfd: macsmc: Initialize mutex
commit: 9f7cd8015f588755ada102d400c58ed1ca28a63d
--
Lee Jones [李琼斯]
More information about the linux-arm-kernel
mailing list