[PATCH] mfd: macsmc: Initialize mutex
Lee Jones
lee at kernel.org
Wed Oct 1 02:55:05 PDT 2025
On Sat, 27 Sep 2025, Markus Elfring 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.
>
> See also:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc7#n94
Provide some context in your own words.
Don't expect others to click random links.
--
Lee Jones [李琼斯]
More information about the linux-arm-kernel
mailing list