Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1265086ybt; Thu, 9 Jul 2020 02:48:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQmA+z2zo99ijGsBfAb8CoircVe6FuASo8/tlKzq1Ea4ARVfN54JWeldrYzXniuPOzBTSQ X-Received: by 2002:a17:906:4341:: with SMTP id z1mr49478955ejm.392.1594288092448; Thu, 09 Jul 2020 02:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594288092; cv=none; d=google.com; s=arc-20160816; b=V9C0SCU0qcJXad+r00dTVUyMvDo4YNHOImPKoHqvN6L+50tOxzVWulQhcUNMcZ1rbP VmcmU4UMcqgZ6f8XHFe3hz4nANQoL8YzNB/LLAoHNpa6ORj/Kcz5OKLQXMn8A6IG93vM 5oCZjH0h0pTLteHMi+koLrtOeaPFoSSLXpj+n9YSSIhAOjQIYSY03HSRRG5Zo6bGqmkd wI4d3TxgL7INO4MT7M+4ozodOH/3NxPUDpabMpWYmP5mJxomjy8s9Ng8LiHC/zFrRyJ/ E5XbnFmuMXMc9I7zvpTOSKJF3CEZ3RWeXiu41FQEVWJwx8Sr2lmUfDf0/prOg3t5oFqh Dayg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=lWQG2l1CSnRMeCR6RHk0UywX4mjYT09MisLJdycdJzM=; b=NSKFfXwSXC2bTsE8v1yWjGxH3kGtTR7nF0XXm42iZfLkj0x6lBDZw7+1B9AID3O8J2 DnhmGxHsPLjWSGiRnPBp1tVroNYcjFuaPN/DfWHGkl1RcFi578AbPTgwWz2uRkCu0YG0 YBHDAEpQctd//S3PVpLBa1zhMYFLk7UQipfhFd6XmkEPuE5clUNd3ZCW4vYPEqb3B/3J If3vfi5KpBRruccDdK74FhQYiVykY8Mn0ff4h208de1wdhXHpcEGf4EBdv0lpet15EcI HiceP1saCwj6E9GWib3rapBTpGGDcoghdYUlbKTlkdpngN6oD3RxpteP/k62Rrax1mwY U59w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si1400304ejv.483.2020.07.09.02.47.49; Thu, 09 Jul 2020 02:48:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726710AbgGIJp0 (ORCPT + 99 others); Thu, 9 Jul 2020 05:45:26 -0400 Received: from mx2.suse.de ([195.135.220.15]:41868 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726339AbgGIJpX (ORCPT ); Thu, 9 Jul 2020 05:45:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id CCEC7B033; Thu, 9 Jul 2020 09:45:20 +0000 (UTC) Subject: Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology To: Dan Williams , corbet@lwn.net Cc: ksummit-discuss@lists.linuxfoundation.org, Greg Kroah-Hartman , SeongJae Park , linux-kernel@vger.kernel.org, tech-board-discuss@lists.linuxfoundation.org, James Bottomley , Dave Airlie , Christian Brauner , Dan Carpenter References: <159423201991.2466245.8461410729774664077.stgit@dwillia2-desk3.amr.corp.intel.com> From: Matthias Brugger Message-ID: <5be5abc9-c2db-1f96-bc29-61cd90d985ab@suse.com> Date: Thu, 9 Jul 2020 11:45:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <159423201991.2466245.8461410729774664077.stgit@dwillia2-desk3.amr.corp.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/07/2020 20:14, Dan Williams wrote: > Linux maintains a coding-style and its own idiomatic set of terminology. > Update the style guidelines to recommend replacements for the terms > master/slave and blacklist/whitelist. > > Link: http://lore.kernel.org/r/159389297140.2210796.13590142254668787525.stgit@dwillia2-desk3.amr.corp.intel.com > Acked-by: Randy Dunlap > Acked-by: Dave Airlie > Acked-by: SeongJae Park > Acked-by: Christian Brauner > Acked-by: James Bottomley > Reviewed-by: Mark Brown > Signed-off-by: Theodore Ts'o > Signed-off-by: Shuah Khan > Signed-off-by: Dan Carpenter > Signed-off-by: Kees Cook > Signed-off-by: Olof Johansson > Signed-off-by: Jonathan Corbet > Signed-off-by: Chris Mason > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Dan Williams Reviewed-by: Matthias Brugger > --- > Changes since v2 [1]: > - Pick up missed sign-offs and acks from Jon, Shuah, and Christian > (sorry about missing those earlier). > > - Reformat the replacement list to make it easier to read. > > - Add 'controller' as a suggested replacement (Kees and Mark) > > - Fix up the paired term for 'performer' to be 'director' (Kees) > > - Collect some new acks, reviewed-by's, and sign-offs for v2. > > - Fix up Chris's email > > [1]: http://lore.kernel.org/r/159419296487.2464622.863943877093636532.stgit@dwillia2-desk3.amr.corp.intel.com > > > Documentation/process/coding-style.rst | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst > index 2657a55c6f12..1bee6f8affdb 100644 > --- a/Documentation/process/coding-style.rst > +++ b/Documentation/process/coding-style.rst > @@ -319,6 +319,26 @@ If you are afraid to mix up your local variable names, you have another > problem, which is called the function-growth-hormone-imbalance syndrome. > See chapter 6 (Functions). > > +For symbol names and documentation, avoid introducing new usage of > +'master / slave' (or 'slave' independent of 'master') and 'blacklist / > +whitelist'. > + > +Recommended replacements for 'master / slave' are: > + '{primary,main} / {secondary,replica,subordinate}' > + '{initiator,requester} / {target,responder}' > + '{controller,host} / {device,worker,proxy}' > + 'leader / follower' > + 'director / performer' > + > +Recommended replacements for 'blacklist/whitelist' are: > + 'denylist / allowlist' > + 'blocklist / passlist' > + > +Exceptions for introducing new usage is to maintain a userspace ABI/API, > +or when updating code for an existing (as of 2020) hardware or protocol > +specification that mandates those terms. For new specifications > +translate specification usage of the terminology to the kernel coding > +standard where possible. > > 5) Typedefs > ----------- > > _______________________________________________ > Ksummit-discuss mailing list > Ksummit-discuss@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss >