Re: Re: [PATCH v2] scripts/spelling: Recommend blocklist/allowlist instead of blacklist/whitelist

From: SeongJae Park
Date: Wed Jun 10 2020 - 01:33:59 EST


On Tue, 09 Jun 2020 18:35:46 -0700 Joe Perches <joe@xxxxxxxxxxx> wrote:

> On Tue, 2020-06-09 at 14:25 +0200, SeongJae Park wrote:
> > From: SeongJae Park <sjpark@xxxxxxxxx>
> >
> > This commit recommends the patches to replace 'blacklist' and
> > 'whitelist' with the 'blocklist' and 'allowlist', because the new
> > suggestions are incontrovertible, doesn't make people hurt, and more
> > self-explanatory.
>
> nack. Spelling is for typos not for politics.

Agreed, I'm abusing the spell checking. I personally believe the terms will
eventually removed from the dictionary and become typos, though.

I will update checkpatch to support deprecated terms checking, and set the
'blacklist' and 'whitelist' as the deprecated terms in the next spin.


Thanks,
SeongJae Park

>
> > Signed-off-by: SeongJae Park <sjpark@xxxxxxxxx>
> > ---
> > scripts/spelling.txt | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/scripts/spelling.txt b/scripts/spelling.txt
> > index d9cd24cf0d40..ea785568d8b8 100644
> > --- a/scripts/spelling.txt
> > +++ b/scripts/spelling.txt
> > @@ -230,6 +230,7 @@ beter||better
> > betweeen||between
> > bianries||binaries
> > bitmast||bitmask
> > +blacklist||blocklist
> > boardcast||broadcast
> > borad||board
> > boundry||boundary
> > @@ -1495,6 +1496,7 @@ whcih||which
> > whenver||whenever
> > wheter||whether
> > whe||when
> > +whitelist||allowlist
> > wierd||weird
> > wiil||will
> > wirte||write