Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3036726imm; Sun, 1 Jul 2018 10:47:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfSAb31nJJIFWgJCUXVYxUD89ZcbeZB9/C8qelfrv8cuoQq9YwaLcIDR5wEn0naVm81WXrS X-Received: by 2002:a63:1e08:: with SMTP id e8-v6mr4436130pge.281.1530467252294; Sun, 01 Jul 2018 10:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530467252; cv=none; d=google.com; s=arc-20160816; b=UhQDWXA2pnvaYYMhlGxjdRrlh6TvWky47nhePJi2Noh0QfzzgOlXbg2/4lmMNjSULq V46qauEOIT15gVxZ3PDeyDSAMvmVxons5+Jg+vwjtDmZdv3IEmAe+8FpNfqXjkK6qzI2 6SxU4lmtATuSpgbb2/pcpH1pR44rgbKQkX+AS6vDiTfjUPGWOcrnkzkgiKpPgYVGAkmM NZej2Yg9yvIfvxNJJSbZ4tdDjdMVs6QB1kJba9yCHuhtCdlW/HHw4I71lseMbBVgfAgh LQhq9M9EljiHYzZTDWINr5SMkMV0KQhijQ/l86RGI1d/fzOiajF+iCMubIivzB6O+4Co xs1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/RGN9ARPA30XbAlpwVHiTQ2jG2eBbUnREivGB1vrvQc=; b=aGdm2pgWz0r70oucJqMxR1h0P/fc4a7u6PxZ0EeUl8JcDHjTWfJpRrYrhKFSUkIScz 1I9CmYKfYtFvErNsBSFcmjxtTtlsSat3GQl+uh87+RviDfXXMr0NyxaXlSDFdePGYDSv yqVNnLj3lixloRy4PtF93loNr9dntgQfmu8BbqKzaTnFcXBseI/UOd1uikk6scBxBE0t QwNn9EuHABe74k9j6zI2NDCVqpi8D5eXwxZyG6cktiH9X6WUWMnISHAdKNcpOg65KTln yoYPJACGgG3zWQ9aAgJlRbXvWMf3lspi9GvwM+iZ4RB9JMXkoc167WQE5kvOQ5m6LO9I t7Dw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si14075830plx.351.2018.07.01.10.47.17; Sun, 01 Jul 2018 10:47:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031013AbeGARp1 (ORCPT + 99 others); Sun, 1 Jul 2018 13:45:27 -0400 Received: from bmailout2.hostsharing.net ([83.223.90.240]:50277 "EHLO bmailout2.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753091AbeGARpK (ORCPT ); Sun, 1 Jul 2018 13:45:10 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout2.hostsharing.net (Postfix) with ESMTPS id D17C12800B4B6; Sun, 1 Jul 2018 19:45:08 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 5CCE8D1E11; Sun, 1 Jul 2018 19:45:08 +0200 (CEST) Date: Sun, 1 Jul 2018 19:45:08 +0200 From: Lukas Wunner To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/2] PCI: Document patch submission hints Message-ID: <20180701174508.GB28249@wunner.de> References: <153030390808.57832.2200774416664543563.stgit@bhelgaas-glaptop.roam.corp.google.com> <153030405971.57832.12860154795039493576.stgit@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <153030405971.57832.12860154795039493576.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 29, 2018 at 03:27:39PM -0500, Bjorn Helgaas wrote: > --- /dev/null > +++ b/Documentation/PCI/submitting-patches.txt > @@ -0,0 +1,153 @@ > +Start with Documentation/process/submitting-patches.rst for general > +guidance. > + > +These are things I look at when reviewing patches. For an uninitiated reader who doesn't know that you're currently the (sole) maintainer of the PCI subsystem, this sentence might look odd. Who's "I"? What happens if you onboard co-maintainers, are you going to change this to "we"? > + - Wrap code and comments to fit in 80 columns. Exception: I prefer > + printk strings to be in one piece for searchability, so don't split > + quoted strings to make them fit in 80 columns. This is a duplication of Documentation/process/coding-style.rst, section 2. > + - Follow the existing convention Run "git log --oneline " and make > + your subject line match previous changes in format, capitalization, and > + sentence structure. For example, native host bridge driver patch > + titles look like this: > + > + PCI: vmd: Remove IRQ affinity so we can allocate more IRQs > + PCI: mediatek: Add MSI support for MT2712 and MT7622 > + PCI: rockchip: Remove IRQ domain if probe fails A quick "git log --oneline --no-merges drivers/pci" shows that the prefixes in use aren't consistent at all: Sometimes a slash is used to separate "PCI" from the subpart touched by the patch, sometimes a colon, e.g. "PCI/AER: " versus "PCI: shpchp: ". Your own patches aren't consistent in that respect. Sometimes, only "PCI: " is given as prefix, even though the commit only touches a subpart such as "sysfs", so could easily specify more precisely what it's touching. If you value consistency, it would be good to codify the preferred form right here. > + - Include specific details, e.g., write "Add XYZ controller support" > + instead of "add support for new generation controller". Why not simply "Support XYZ controller"? One word less, more succinct. > + - Always copy linux-pci@vger.kernel.org and linux-kernel@vger.kernel.org. I'd drop linux-kernel here. The volume on that list is already like drinking from a firehose, I doubt it adds much value to cc it. Thanks, Lukas