From: Florian Fainelli <f.fainelli@gmail.com>
To: Scott Branden <scott.branden@broadcom.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-kernel@vger.kernel.org, Eric Anholt <eric@anholt.net>,
Jon Mason <jonmason@broadcom.com>,
Linus Walleij <linus.walleij@linaro.org>,
Ray Jui <rjui@broadcom.com>,
Scott Branden <sbranden@broadcom.com>,
Stefan Wahren <stefan.wahren@i2se.com>,
Sherman Yin <syin@broadcom.com>,
bcm-kernel-feedback-list@broadcom.com,
linux-gpio@vger.kernel.org, linux-rpi-kernel@lists.infradead.org
Subject: Re: [PATCH 3/3] pinctrl: bcm: clean up modular vs. non-modular distinctions
Date: Tue, 23 May 2017 17:42:39 -0700 [thread overview]
Message-ID: <290c657d-5c40-882a-5a74-b5844709ada5@gmail.com> (raw)
In-Reply-To: <89839690-ab46-c091-dff6-30b50aea499b@broadcom.com>
On 05/23/2017 05:37 PM, Scott Branden wrote:
>
>
> On 17-05-23 05:25 PM, Florian Fainelli wrote:
>> On 05/23/2017 05:12 PM, Paul Gortmaker wrote:
>>> [Re: [PATCH 3/3] pinctrl: bcm: clean up modular vs. non-modular
>>> distinctions] On 23/05/2017 (Tue 15:15) Scott Branden wrote:
>>>
>>>> Hi Paul,
>>>>
>>>> Some comments - leave our file headers intact. If you want to add a
>>>> new
>>>> comment do so after the existing file header in another comment.
>>>> But, I
>>>> don't think any of that information is needed by us.
>>> OK, no problem, if that is what is desired for your driver. I just
>>> normally move the author information from the bottom of the file to the
>>> top of the file. As a lot of the linux driver work was (is?) done for
>>> kudos and not for career, I can't just delete author information. That
>>> would not be fair to most of those contributors.
>>>
>>> It hasn't been a problem before in all of the other similar commits I've
>>> made, but I can imagine a tool that does a check on the comment block on
>>> the top of a file and complains if it changes, or similar.
>>>
>>> Would you prefer something like this instead? It leaves your header
>>> completely untouched, and still gives credit to the original author,
>>> and those lines are also untouched.
>> This looks horrible, sorry. Scott, what's the matter with moving the
>> authors listed in MODULE_AUTHOR() into the header?
> We have tools for scanning headers. Mucking with the headers
> is not desirable as tools may need to change. Just place additional
> comments in new comments blocks.
That's a pretty moot explanation. These tools will have to deal with
random changes being done to the kernel as the project keeps seeing more
changes.
Plus, you may get Paul to do what you him to do here and not put
anything in the header, but there is no guarantee someone else won't be
doing it, and even if you are CC'd on the patches, what if you are not,
and what if you can't defend this "breaks our tools" position, does not
scale to me.
If it's an internal tool, it can certainly be fixed, if it's coming from
an external vendor, I'd be seriously concerned if their scanning/logic
started to break in 4.13 because Paul's patches got included...
At any rate, I'd just drop the MODULE_AUTHOR() altogether, we can use
the SCM to tell us who did what exactly in a much more powerful way
(like line by line).
--
Florian
next prev parent reply other threads:[~2017-05-24 0:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-22 20:56 [PATCH 0/3] pinctrl: bcm/samsung/tegra: make bool code non-modular Paul Gortmaker
2017-05-22 20:56 ` [PATCH 1/3] pinctrl: samsung: clean up modular vs. non-modular distinctions Paul Gortmaker
2017-05-23 14:51 ` Krzysztof Kozlowski
2017-05-23 15:54 ` Paul Gortmaker
2017-05-29 8:24 ` Linus Walleij
2017-05-22 20:56 ` [PATCH 2/3] pinctrl: tegra: " Paul Gortmaker
2017-05-29 8:25 ` Linus Walleij
2017-05-22 20:56 ` [PATCH 3/3] pinctrl: bcm: " Paul Gortmaker
2017-05-23 20:11 ` Stefan Wahren
2017-05-23 22:15 ` Scott Branden
2017-05-24 0:12 ` Paul Gortmaker
2017-05-24 0:25 ` Florian Fainelli
2017-05-24 0:37 ` Scott Branden
2017-05-24 0:42 ` Florian Fainelli [this message]
2017-05-24 0:34 ` Scott Branden
2017-05-29 8:31 ` Linus Walleij
2017-05-29 16:35 ` Scott Branden
2017-05-30 7:41 ` Linus Walleij
2017-05-29 8:33 ` [PATCH 0/3] pinctrl: bcm/samsung/tegra: make bool code non-modular Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=290c657d-5c40-882a-5a74-b5844709ada5@gmail.com \
--to=f.fainelli@gmail.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=eric@anholt.net \
--cc=jonmason@broadcom.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rpi-kernel@lists.infradead.org \
--cc=paul.gortmaker@windriver.com \
--cc=rjui@broadcom.com \
--cc=sbranden@broadcom.com \
--cc=scott.branden@broadcom.com \
--cc=stefan.wahren@i2se.com \
--cc=syin@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®