[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46f0a2fa-9b48-c6d3-05ac-a75168b1998c@fb.com>
Date: Wed, 23 May 2018 10:32:24 -0400
From: Jes Sorensen <jsorensen@...com>
To: Matthew Wilcox <willy@...radead.org>
CC: Rajat Jain <rajatja@...gle.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Jonathan Corbet <corbet@....net>,
Philippe Ombredanne <pombredanne@...b.com>,
Kate Stewart <kstewart@...uxfoundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Frederick Lawler <fred@...dlawl.com>,
Oza Pawandeep <poza@...eaurora.org>,
Keith Busch <keith.busch@...el.com>,
Gabriele Paoloni <gabriele.paoloni@...wei.com>,
Alexandru Gagniuc <mr.nuke.me@...il.com>,
Thomas Tai <thomas.tai@...cle.com>,
"Steven Rostedt (VMware)" <rostedt@...dmis.org>,
<linux-pci@...r.kernel.org>, <linux-doc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Kyle McMartin <jkkm@...com>,
<rajatxjain@...il.com>
Subject: Re: [PATCH 1/5] PCI/AER: Define and allocate aer_stats structure for
AER capable devices
On 05/23/2018 10:26 AM, Matthew Wilcox wrote:
> On Wed, May 23, 2018 at 10:20:10AM -0400, Jes Sorensen wrote:
>>> +++ b/drivers/pci/pcie/aer/aerdrv_stats.c
>>> @@ -0,0 +1,64 @@
>>> +// SPDX-License-Identifier: GPL-2.0
>>
>> Fix the formatting please - that gross // gibberish doesn't belong there.
>
> Sorry, Jes. The Chief Penguin has Spoken, and that's the preferred
> syntax:
>
> 2. Style:
>
> The SPDX license identifier is added in form of a comment. The comment
> style depends on the file type::
>
> C source: // SPDX-License-Identifier: <SPDX License Expression>
>
> (you can dig up the discussion around this on the mailing list if you
> like. Linus actually thinks that C++ single-line comments are one of
> the few things that language got right)
Well I'll agree to disagree with Linus on this one. It's ugly as fsck
and allows for ambiguous statements in the code.
Jes
Powered by blists - more mailing lists