checkpatch: userspace improvements
Status from this message: [merged mm-nonmm-stable] checkpatch-skip-kernel-specific-checks-for-userspace.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest4 patches 1 replyApplied 4/4
- v55 patches 4 repliesSuperseded
- v43 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 3 replies | Superseded |
Changes in v6 from the cover letter
- Remove 4th commit "checkpatch: Factor out the check for UAPI files" which added is_uapi(), which was wrong. I overlook that regex on BIT() macro is different from the others, matching only ^include/uapi/.
- Fix 5th commit which wrongly called is_uapi() instead of is_userspace().
Patches in v6 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | checkpatch: Add more userspace directories to is_userspace()scripts/ | +3 | 0 replies | Applied |
| 2/4 | checkpatch: Ignore <inttypes.h> format macros for userspace toolsscripts/ | +2 | 0 replies | Applied |
| 3/4 | checkpatch: Add --userspace to force userspace rulesscripts/ | +6 | 0 replies | Applied |
| 4/4 | checkpatch: Skip kernel specific checks for userspacescripts/ | +7 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [PATCH v6 0/4] checkpatch: userspace improvements
Few improvements for user space code + --userspace option for projects which vendored checkpatch.pl.
There could be probably more checks which are kernel space only.
v6:
- Remove 4th commit "checkpatch: Factor out the check for UAPI files" which added is_uapi(), which was wrong. I overlook that regex on BIT() macro is different from the others, matching only ^include/uapi/.
- Fix 5th commit which wrongly called is_uapi() instead of is_userspace().
Link to v5:
https://lore.kernel.org/lkml/[email protected]/
Link to v4:
https://lore.kernel.org/lkml/[email protected]/
Petr Vorel (4):
checkpatch: Add more userspace directories to is_userspace()
checkpatch: Ignore <inttypes.h> format macros for userspace tools
checkpatch: Add --userspace to force userspace rules
checkpatch: Skip kernel specific checks for userspace
scripts/checkpatch.pl | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-)
Signature · 1 line
2.55.0