Skip to content

Recommend denylist/allowlist instead of blacklist/whitelist

SeongJae Park lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 32 repliesIn review
  2. v32 patches 7 repliesSuperseded
  3. v21 patch 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch1 replySuperseded

Changes in v4 from the cover letter

(https://lore.kernel.org/lkml/[email protected]/)
- Reuse the file read code for 'spelling.txt' (Joe Perches)
- Suggest 'denylist' rather than 'blocklist' (Jiri Slaby)
- Rebased on today's next/master

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2checkpatch: support deprecated terms checkingscripts/checkpatch.pl scripts/deprecated_terms.txt+50 -1517 replies
2/2scripts/deprecated_terms: Recommend denylist/allowlist instead of blacklist/whitelistscripts/deprecated_terms.txt+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] Recommend denylist/allowlist instead of blacklist/whitelist

From: SeongJae Park <[email protected]>

This patchset 1) adds support of deprecated terms in the 'checkpatch.pl' and 2) set the 'blacklist' and 'whitelist' as deprecated with replacement suggestion of 'denylist' and 'allowlist', because the suggestions are incontrovertible, doesn't make people hurt, and more self-explanatory.

The patches are based on latest 'next/master'. You can get the complete git tree at:

https://github.com/sjp38/linux/tree/patches/checkpatch/deprecate_blacklist_whitelist_on_next_v4

Patch History
=============

Changes from v3
(https://lore.kernel.org/lkml/[email protected]/)
- Reuse the file read code for 'spelling.txt' (Joe Perches)
- Suggest 'denylist' rather than 'blocklist' (Jiri Slaby)
- Rebased on today's next/master

Changes from v2
(https://lore.kernel.org/lkml/[email protected]/)
- Implement and use deprecated terms check

Changes from v1
(https://lore.kernel.org/lkml/[email protected]/)
- Remove unnecessary commit message

SeongJae Park (2):
checkpatch: support deprecated terms checking scripts/deprecated_terms: Recommend denylist/allowlist instead of
blacklist/whitelist

 scripts/checkpatch.pl        | 60 +++++++++++++++++++++++++++---------
 scripts/deprecated_terms.txt |  7 +++++
 2 files changed, 52 insertions(+), 15 deletions(-)
 create mode 100644 scripts/deprecated_terms.txt
Signature · 1 line
2.17.1