Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1186604ybt; Thu, 9 Jul 2020 00:27:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzU0E8XiNVa44VRFjhilQ8iXo8Ed1aD3UudVSqtusStJ28h+ji+eBWbnX7wTgI/R+GraiAP X-Received: by 2002:a17:907:42d0:: with SMTP id nz24mr58587262ejb.135.1594279649013; Thu, 09 Jul 2020 00:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594279649; cv=none; d=google.com; s=arc-20160816; b=nOv7H3nA/1b4jCR1wz/g8l3a9Ang4tuZahtjxNnSBM1B3njhP8CcQi38YVQoGgbLjY cfEB3aYjhx6c8dpdW3NPE1h1oAix6UiI235FWbMERzjh/BRjCv5Qx9SF58Av6Lmsjm6m tGOlbKj/Oi028qN0raMQ8KyatzvxKZDakypMrRKRo9LLCZrEBwf35ds+htl4T0IL3idq eXIZzb4cv3+geRmnxS4CdafnqYKPH2lbA7oc0S9+uRQQQfsacgMksc591zfVmCSTatnY h30XQ7HFm2lqedd+bjH3BoVauu8VVooboIGbwlsMQgJVTzO8CcFYI45NXfyvVS+3pprf emPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Pag+RcEqQEamOjfbOEguYU2pFk2Ny9rxa5wKpcW4W0g=; b=cre9ViTO1dmb42720Y0UqiQUPyQFfEzxqocTKBa3E768p4EHFsC+MrqasZqVA0My6+ akhREvpLpz51UHkKQVfz0FdBorvmyoqc4px1Z9lG+Fxgm74u/4YI8nkklUyavzxU/SW8 IosiLBNqR8dMlJiRNyNo/nY+0K6lfAMWxszil1rnkqFQ7vmrneDRPRJX6MCRrsamOv1C I9UXik1j1OMDCfM1dCnJzhlYli5BYGvn74pf2es0UYC67CPZA6Gdp5WHCFnW6cF+K5im 3IM+ofNeil+6mR87FHAXROZ9aEhqqsHzYmEpQqyzV+4gp6CjcKqumRVWDuT3KTvNizmQ VmWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=F0rG8coo; 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 i6si1556839edv.52.2020.07.09.00.27.06; Thu, 09 Jul 2020 00:27:28 -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=@ffwll.ch header.s=google header.b=F0rG8coo; 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 S1726324AbgGIHZc (ORCPT + 99 others); Thu, 9 Jul 2020 03:25:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726319AbgGIHZb (ORCPT ); Thu, 9 Jul 2020 03:25:31 -0400 Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3581DC061A0B for ; Thu, 9 Jul 2020 00:25:31 -0700 (PDT) Received: by mail-ot1-x344.google.com with SMTP id 95so1007430otw.10 for ; Thu, 09 Jul 2020 00:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Pag+RcEqQEamOjfbOEguYU2pFk2Ny9rxa5wKpcW4W0g=; b=F0rG8cooNYI+AtqjAzaVgiBMKgGIwFKGt3eV86gNAcJE5PGpK8mcqdaZ6bCEyFrGiQ 1UyqqbcTs0YYt4yzktkNusLxF750IWBKUaVdQ3/PVEwqwPjtB/RE3A4fj7bV3CbXazld r94M5mu53hV9sOXDj7QKaxV9RKyhomECStcG4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Pag+RcEqQEamOjfbOEguYU2pFk2Ny9rxa5wKpcW4W0g=; b=SE5+VY1eQv3tBbwVNmAdZk/M25ma/VSRI010vcA3KWA0yRGUXTrsXJ/jd+CRislN8p /+WxVRUoqrOnirusQeiAgM2ZgE6cEIBeUE66cmNxz8b9NYqhM0rJIeraQA2qhAPj57tj xT799AQydA2qMhFKvls4uXQD3g6dXZPDoRzgTDuizpHLZwaf3ScteBq2u6UC5hdToXep FMIzxafuYToiXbUfLCxTzZcdjVV8LRVkEgp7NaYUcEwckuFU4BC3Um11oF507ajwYtc+ Rh+s+H3Z4DmkuhSU+ztN7Qzq6BQczeA0HWnc4LaUDqbiiv6YH0iY5cLVTGi7sODR3J90 eCqw== X-Gm-Message-State: AOAM533tNvUgeBvwwE0EJF/hrzxy/Pbscl26o+NriRPHg8LeHjKIVv/H g94VcnAJdEKKEZeduCTsaSvSUVDbGWnKYWlF9/9Iz7zQ X-Received: by 2002:a05:6830:1613:: with SMTP id g19mr39306609otr.303.1594279530544; Thu, 09 Jul 2020 00:25:30 -0700 (PDT) MIME-Version: 1.0 References: <159423201991.2466245.8461410729774664077.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <159423201991.2466245.8461410729774664077.stgit@dwillia2-desk3.amr.corp.intel.com> From: Daniel Vetter Date: Thu, 9 Jul 2020 09:25:19 +0200 Message-ID: Subject: Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology To: Dan Williams Cc: Jonathan Corbet , ksummit , Greg Kroah-Hartman , SeongJae Park , Linux Kernel Mailing List , tech-board-discuss@lists.linuxfoundation.org, James Bottomley , Dave Airlie , Christian Brauner , Dan Carpenter Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 8, 2020 at 8:30 PM 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 Replied to the old version, once more here so it's not lost. Acked-by: Daniel Vetter > --- > 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 -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch