mfd: macsmc: Initialize mutex

Markus Elfring Markus.Elfring at web.de
Wed Oct 1 05:52:36 PDT 2025


>>>>> 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.
…> However, you must also provide your own context.

Do you try to support the creation of improved change descriptions?

Regards,
Markus



More information about the linux-arm-kernel mailing list