Thread (10 messages) 10 messages, 5 authors, 2025-10-21

Re: [PATCH] mfd: macsmc: Initialize mutex

From: Lee Jones <lee@kernel.org>
Date: 2025-10-01 12:48:30
Also in: asahi, lkml

On Wed, 01 Oct 2025, Markus Elfring wrote:
quoted
quoted
quoted
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.
Would contributors like to care more also for the usage of imperative mood
in proposed commit messages?

quoted
Don't expect others to click random links.
Should the mentioned information source be better known since a while?
By all means, provide the link as well.

However, you must also provide your own context.

-- 
Lee Jones [李琼斯]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help