Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp419531ybh; Wed, 15 Jul 2020 05:40:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeRbvBayYSCyLLyH0yyO70Q4NmfGFzlo/5Afcy8Bsru3jBAROp8knINTNnO9lKRfsxkIsA X-Received: by 2002:a17:906:dce:: with SMTP id p14mr8801835eji.442.1594816803677; Wed, 15 Jul 2020 05:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594816803; cv=none; d=google.com; s=arc-20160816; b=gI8/NsghH49ea3VifAzhG1uh/K2oo9tYowrem20uPYfem8iC5P95MFhYxm7FHGucWL owVAHxB/ov+GMFR+QcClMrBH8NWPWoi/kCtyzv2/jpX1bI4PldqURYy/gOVMh7ZyR3+n djbWH50rqQjITr5eM8QV+05Ngghtc0gNH0aXhATZLb+awWRpmpJnoKuUxgjLp12yDivS dpw8AuxkjxRho90VpppdQDNP7kx6MEFUnyr+zCTfI1YQgoU/ySRqiDe3DaEhNVo4ATNr eK6yno0U0sQAfpWxrfsYAfrVRl+6EdEes4gqhyWCwkl1qtj25qoWNxc7wxyOcr0Junhy I/Bg== 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:references :organization:in-reply-to:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=OlfGXECAtYyRsIATBQHRXx0bvDDgYL8wXXmAH1AMH/g=; b=O4t7Becq7pSHFZBwm0Sb97coqg4xgLKLH9221VCrYvWOScfAri3wh5sOzjPoenMRdR CDBfrhOMdI2Y9gnVZlVMk/WR6Y8cxlB+DTjtLmG4g7CrWJg9rBS6c/TqLO0fGN7TYZaq 7CcANu4ecWiFyv0dvKd3SKFNs80+4UHFvRUHLX228bAWT9EvjFhCEJ38qgeIE8Jq1f91 UmIYzJDQOPYQkfZq2pq1qvSE6tlfUgs+580PEPLWUgK01LEHaxz+tnx3I6AG68hO1SkZ eVBJkoDM8R2ECXWE73X5FSy6aRTrfm7YyC7esj7BsEXV2ubpuPIavV1vNzIqwh6EekJJ Uawg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si1084305ejd.687.2020.07.15.05.39.40; Wed, 15 Jul 2020 05:40:03 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730148AbgGOMTQ (ORCPT + 99 others); Wed, 15 Jul 2020 08:19:16 -0400 Received: from mga05.intel.com ([192.55.52.43]:38998 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725924AbgGOMTQ (ORCPT ); Wed, 15 Jul 2020 08:19:16 -0400 IronPort-SDR: TJ1ngcIFV1P8cXgwVe8hnKMapai6GjBquAEn7k1wRMAuYi+V2ZPWxSnNcaZZVe8dAafyTEgLnG qrHq7HW7q2mw== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="233988230" X-IronPort-AV: E=Sophos;i="5.75,355,1589266800"; d="scan'208";a="233988230" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 05:19:15 -0700 IronPort-SDR: kXB9TWIVBm4Sbe3w+71xC2TYXsmh9E312mvHk1RuDdeTcp8fqWcIMJ1Lqip7FpjiLWhk+UFb73 xGEs0Pp0NHjQ== X-IronPort-AV: E=Sophos;i="5.75,355,1589266800"; d="scan'208";a="460051039" Received: from iferdane-mobl3.ger.corp.intel.com (HELO localhost) ([10.252.55.197]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 05:19:10 -0700 From: Jani Nikula 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 Subject: Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology In-Reply-To: <159423201991.2466245.8461410729774664077.stgit@dwillia2-desk3.amr.corp.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <159423201991.2466245.8461410729774664077.stgit@dwillia2-desk3.amr.corp.intel.com> Date: Wed, 15 Jul 2020 15:19:06 +0300 Message-ID: <87o8oh0y4l.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 08 Jul 2020, 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 FWIW, Acked-by: Jani Nikula > --- > 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 -- Jani Nikula, Intel Open Source Graphics Center