On Sun, Aug 02, 2026 at 10:18:57PM -0400, Noah Techoueyres wrote:
Add comments to spinlock and mutex fields explaining what they protect, as required by kernel coding style for lock definitions.
Signed-off-by: Noah Techoueyres noahtechoueyres@gmail.com
To be honest, I don't love this checkpatch warning. It seems like a really easy task but it's actually difficult so it tricks people into sending patches that they shouldn't.
We really want a proper analysis of the locking and not a three word guess. What I *really* want is for people to check for bugs as they are doing this analysis. If you can't find the bugs then this task is too difficult at this stage.
regards, dan carpenter