2020-07-13 07:20:55

by SeongJae Park

[permalink] [raw]
Subject: [PATCH] scripts/deprecated_terms: Sync with inclusive terms

From: SeongJae Park <[email protected]>

# NOTE: this patch is based on next/master, as this is a followup of
# commit 0d8b43e5876a ("scripts/deprecated_terms: recommend
# denylist/allowlist instead of blacklist/whitelist"), which merged in
# next tree only.

Commit a5f526ecb075 ("CodingStyle: Inclusive Terminology") introduced
more terms to be deprecated with more alternatives. This commit updates
'deprecated_terms.txt' to sync with it.

Signed-off-by: SeongJae Park <[email protected]>
---
scripts/deprecated_terms.txt | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/scripts/deprecated_terms.txt b/scripts/deprecated_terms.txt
index 4512ef5d5ffa..1be27a24187b 100644
--- a/scripts/deprecated_terms.txt
+++ b/scripts/deprecated_terms.txt
@@ -3,5 +3,8 @@
# The format of each line is:
# deprecated||suggested
#
-blacklist||denylist
-whitelist||allowlist
+blacklist||(denylist|blocklist)
+# For other alternatives of 'slave', Please refer to
+# Documentation/process/coding-style.rst
+slave||(secondary|target|...)
+whitelist||(allowlist|passlist)
--
2.17.1