[PATCH v4 0/2] Recommend denylist/allowlist instead of blacklist/whitelist
From: SeongJae Park
Date: Thu Jun 11 2020 - 02:26:32 EST
From: SeongJae Park <sjpark@xxxxxxxxx>
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/20200610065223.29894-1-sjpark@xxxxxxxxxx/)
- 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/20200609122549.26304-1-sjpark@xxxxxxxxxx/)
- Implement and use deprecated terms check
Changes from v1
(https://lore.kernel.org/lkml/20200609121843.24147-1-sjpark@xxxxxxxxxx/)
- 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
--
2.17.1