Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1068766ybg; Wed, 10 Jun 2020 23:28:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeL0WsQjdNL1M44wnQZzvCIX0mwNlhlwShCZsZ6fY52ZudT/ZryV7I95nLBGdbElqB6I9Y X-Received: by 2002:aa7:cd41:: with SMTP id v1mr5574549edw.378.1591856907899; Wed, 10 Jun 2020 23:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591856907; cv=none; d=google.com; s=arc-20160816; b=O+EVL8bmI7GurMYDzIevlYv/2gA/48H9yC7VJzZC9YebHaeSrLy/mCdZ5sz5nhLPhi gz1Og3bUKorMfOdMjJfUG8y2tZVglGkai9e/JpSCxMSughClvVds+tICe02xNVg2FchT a51JihY6Ud9d4lWlmOgZkayWblQc30DVI9WNAfhSYt1CjsdkAuKKkyB0MpA0UJk0JKtu Ww2JXwJSyIGTgTmyYT+urO820T1rsBJVqYK5aPS4qzDcU/n5eOKmYoWrBabfS441giwc tqtVJM3uG4FxO8FXBDIp6yvbo8HMv42E38KUhN9qm4aV80zNM5GQPA8a0MgzvdPb7Gff x/lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:ironport-sdr:dkim-signature; bh=VpT5s6xg8q/UO7hLykrWt7A7epnNUGqfikXs17DJ+5c=; b=AcedyCkn2LNA9vFG4zsk8d5d5/pBM7RelMeKILFFx+hDdr/qa9n/ShjFVytRsdkJ8U b45S/bYqja5/TykEWY6OCqmsKebMvYfo77C5cRDzfi7uznI4ioi4QzkYPdj+OM1tgGPK MSxL+QCIsthdHi6hk5dc+u2qPip/NIcDdIFZxolz6MSaCIdI6gJA6Wej//SBNQ6mxWHa lDpFd/rZm1/JuasBTEgqdS0x2aSctVk3x60XjLtAh+fzGzkVET88EIXkDu/nsytNb18Q mIosJ76WLxKbAZPnLM6u8Cc3AgmUl6N1+OcT3oxntWiBv5VFasK5HpaAp28IIvzC4MIi yZDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=SeBQMb6h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t15si1120674edr.173.2020.06.10.23.28.04; Wed, 10 Jun 2020 23:28:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=SeBQMb6h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726536AbgFKG0R (ORCPT + 99 others); Thu, 11 Jun 2020 02:26:17 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:42439 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726511AbgFKG0Q (ORCPT ); Thu, 11 Jun 2020 02:26:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591856775; x=1623392775; h=from:to:cc:subject:date:message-id:mime-version; bh=VpT5s6xg8q/UO7hLykrWt7A7epnNUGqfikXs17DJ+5c=; b=SeBQMb6hIHHGo5Ohzu27WSrEdgwmGStTvimcviUZ5gAnrBOzbWAbbsjQ DxVJHvcrPyyIDcZUHx9kJha1K+zlIlReXHgxPepTx4HJ0UqGCNm+jXjJ6 A0iskLlj8ltldkJoJuTrZqjzL5m0wka+WYZJfbMAeVXMABgobZlI6Gt6Q E=; IronPort-SDR: ojCvipmza7GjCtVlAIjaaodV+KDOw/dhG1E9vDBY9KssZ17W+VnL0GOiKCNCONJR+P/w9k2+1u DcC7lU7t4IFw== X-IronPort-AV: E=Sophos;i="5.73,498,1583193600"; d="scan'208";a="35690942" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2b-baacba05.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP; 11 Jun 2020 06:26:14 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2b-baacba05.us-west-2.amazon.com (Postfix) with ESMTPS id EDAC9A1CD5; Thu, 11 Jun 2020 06:26:12 +0000 (UTC) Received: from EX13D31EUA001.ant.amazon.com (10.43.165.15) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 11 Jun 2020 06:26:12 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.161.97) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 11 Jun 2020 06:26:07 +0000 From: SeongJae Park To: , , CC: SeongJae Park , , , , Subject: [PATCH v4 0/2] Recommend denylist/allowlist instead of blacklist/whitelist Date: Thu, 11 Jun 2020 08:25:48 +0200 Message-ID: <20200611062550.20113-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.97] X-ClientProxiedBy: EX13D06UWA001.ant.amazon.com (10.43.160.220) To EX13D31EUA001.ant.amazon.com (10.43.165.15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: SeongJae Park 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@amazon.com/) - 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@amazon.com/) - Implement and use deprecated terms check Changes from v1 (https://lore.kernel.org/lkml/20200609121843.24147-1-sjpark@amazon.com/) - 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