[PATCH v6 2/2] scripts: checkpatch: check unused parameters for function-like macro

2024-04-03 Thread Barry Song
From: Xining Xu If function-like macros do not utilize a parameter, it might result in a build warning. In our coding style guidelines, we advocate for utilizing static inline functions to replace such macros. This patch verifies compliance with the new rule. For a macro such as the one below,

[PATCH v6 1/2] Documentation: coding-style: ask function-like macros to evaluate parameters

2024-04-03 Thread Barry Song
From: Barry Song Recent commit 77292bb8ca69c80 ("crypto: scomp - remove memcpy if sg_nents is 1 and pages are lowmem") leads to warnings on xtensa and loongarch, In file included from crypto/scompress.c:12: include/crypto/scatterwalk.h: In function 'scatterwalk_pagedone': include/crypto/

[PATCH v6 0/2] codingstyle: avoid unused parameters for a function-like macro

2024-04-03 Thread Barry Song
From: Barry Song -v6: * collect ack of Joe, thanks! * refine docs according to Jonathan, thanks! * add checkpatch doc according to Joe, thanks! -v5: * Simplify the code for Patch 2 according to Joe's suggestions. * add s-o-b of Barry according to Jeff Johnson v5 link: https://lore.kernel.

Re: [PATCH 1/2] docs: *-regressions.rst: unify quoting, add missing word

2024-04-03 Thread Linux regression tracking (Thorsten Leemhuis)
On 28.03.24 20:29, Karel Balej wrote: > Quoting of the '"no regressions" rule' expression differs between > occurrences, sometimes being presented as '"no regressions rule"'. Unify > the quoting using the first form which seems semantically correct or is > at least used dominantly, albeit marginall

Re: [PATCH 2/2] docs: handling-regressions.rst: clarify that "Closes:" tags work too

2024-04-03 Thread Thorsten Leemhuis
On 02.04.24 12:13, Karel Balej wrote: > thank you very much for your feedback. yw! > Thorsten Leemhuis, 2024-04-02T11:27:57+02:00: >> On 01.04.24 17:19, Randy Dunlap wrote: >>> On 4/1/24 1:38 AM, Thorsten Leemhuis wrote: On 28.03.24 20:29, Karel Balej wrote: > The regressions handling ma