Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Justin Swartz <justin.swartz@risingedge.co.za>
Cc: "Sergio Paracuellos" <sergio.paracuellos@gmail.com>,
	"Arınç ÜNAL" <arinc.unal@arinc9.com>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
	"Matthias Brugger" <matthias.bgg@gmail.com>,
	"AngeloGioacchino Del Regno"
	<angelogioacchino.delregno@collabora.com>,
	linux-mips@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH 00/14] mips: dts: ralink: mt7621: improve DTS style
Date: Mon, 18 Mar 2024 10:23:22 +0100	[thread overview]
Message-ID: <18327bbe-10ad-4b39-ab70-2f74f0d4fb08@linaro.org> (raw)
In-Reply-To: <26633d73360e43b2c548f49e544472ea@risingedge.co.za>

On 17/03/2024 16:43, Justin Swartz wrote:
> On 2024-03-17 17:29, Krzysztof Kozlowski wrote:
>> On 17/03/2024 16:22, Justin Swartz wrote:
>>> On 2024-03-17 17:10, Krzysztof Kozlowski wrote:
>>>> On 16/03/2024 16:49, Sergio Paracuellos wrote:
>>>>> On Sat, Mar 16, 2024 at 5:54 AM Justin Swartz
>>>>> <justin.swartz@risingedge.co.za> wrote:
>>>>>>
>>>>>> This set of patches was created with the intention of cleaning up
>>>>>> arch/mips/boot/dts/ralink/mt7621.dtsi so that it is aligned with
>>>>>> the Devicetree Sources (DTS) Coding Style [1] [2] guide.
>>>>>>
>>>>>> [1] Documentation/devicetree/bindings/dts-coding-style.rst
>>>>>>
>>>>>> [2] 
>>>>>> https://docs.kernel.org/devicetree/bindings/dts-coding-style.html
>>>>>>
>>>>>> Justin Swartz (14):
>>>>>>   mips: dts: ralink: mt7621: reorder cpu node attributes
>>>>>>   mips: dts: ralink: mt7621: reorder cpuintc node attributes
>>>>>>   mips: dts: ralink: mt7621: reorder mmc regulator attributes
>>>>>>   mips: dts: ralink: mt7621: reorder sysc node attributes
>>>>>>   mips: dts: ralink: mt7621: reorder gpio node attributes
>>>>>>   mips: dts: ralink: mt7621: reorder i2c node attributes
>>>>>>   mips: dts: ralink: mt7621: reorder spi0 node attributes
>>>>>>   mips: dts: ralink: mt7621: move pinctrl and sort its children
>>>>>>   mips: dts: ralink: mt7621: reorder mmc node attributes
>>>>>>   mips: dts: ralink: mt7621: reorder gic node attributes
>>>>>>   mips: dts: ralink: mt7621: reorder ethernet node attributes and
>>>>>> kids
>>>>>>   mips: dts: ralink: mt7621: reorder pcie node attributes and
>>>>>> children
>>>>>>   mips: dts: ralink: mt7621: reorder pci?_phy attributes
>>>>
>>>> These are all simple cleanups for the same file. It's one patch, not
>>>> 15.
>>>
>>> I agree these are all simple cleanups.
>>>
>>> Even though the cleanup pattern was the same, or very similar,
>>> for each node affected, the intention was to isolate each change
>>> to a single node (or a grouping of nodes of that seemed logical
>>> to me) so that if anyone had any objections, the discussion would
>>> be easier to follow in subthreads identifiable by patch names (and
>>
>> Objections to what? Coding style? Coding style is defined so you either
>> implement it or not... and even if someone disagrees with one line 
>> swap,
>> why it cannot be done like for every contribution: inline?
> 
> I had been asked to include empty lines when I had left them out when
> I had contributed a patch regarding the serial nodes, which resulted in
> a second version of that patch.

I don't understand why would that matter. It's expected Linux
development process to receive comments inline in the patch.

> 
> 
>> Organize your patches how described in submitting patches: one per
>> logical change. Logical change is to reorder all properties in one 
>> file,
>> without functional impact.
> 
> If I had accidentally deleted or modified an attribute in the process
> of cleanup, this could have had a functional impact. It's easier to

How is it relevant? But you did not and splitting simple cleanup
one-line-per-patch is not affecting this. Just because you could make
mistake it does not affect patch readability at all.

Nothing improved with your patch split.


> notice this sort of omission when the wall of text you're confronted
> with is as small as possible, and not multiple pages long.

We are used to handle some length of patches. Multiple scrolls for
obvious cleanups are not problems. Why aren't you applying this approach
to everything? Add a new driver with one function per patch and then
finally Makefile? It would be bisectable and "easy to read" plus
absolutely unmanageable.

> 
> 
>>> But if there're no objections and it lessens the burden on
>>> maintainers upstream to have less patches to apply, then I have no
>>> problem combining them into a single patch.
>>>
>>
>> Yeah, one review response instead of 14 responses... One commit in the
>> history instead of 14.
> 
> I agree that 1 commit vs 14 is better.
> 
> But for future reference: is it not enough for the Reviewed-by: trailer
> to be sent in response to the cover letter of a patch set if a reviewer
> has looked at the entire set?

Sure, one can. I still need to open and download 14 patches.


Best regards,
Krzysztof



  parent reply	other threads:[~2024-03-18  9:23 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-16  4:54 [PATCH 00/14] mips: dts: ralink: mt7621: improve DTS style Justin Swartz
2024-03-16  4:54 ` [PATCH 01/14] mips: dts: ralink: mt7621: reorder cpu node attributes Justin Swartz
2024-03-16  9:20   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 02/14] mips: dts: ralink: mt7621: reorder cpuintc " Justin Swartz
2024-03-16  9:20   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 03/14] mips: dts: ralink: mt7621: reorder mmc regulator attributes Justin Swartz
2024-03-16  9:20   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 04/14] mips: dts: ralink: mt7621: reorder sysc node attributes Justin Swartz
2024-03-16  9:21   ` Arınç ÜNAL
2024-03-17 15:09   ` Krzysztof Kozlowski
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 05/14] mips: dts: ralink: mt7621: reorder gpio " Justin Swartz
2024-03-16  9:21   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 06/14] mips: dts: ralink: mt7621: reorder i2c " Justin Swartz
2024-03-16  9:21   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 07/14] mips: dts: ralink: mt7621: reorder spi0 " Justin Swartz
2024-03-16  9:22   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 08/14] mips: dts: ralink: mt7621: move pinctrl and sort its children Justin Swartz
2024-03-16  9:22   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 09/14] mips: dts: ralink: mt7621: reorder mmc node attributes Justin Swartz
2024-03-16  9:22   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 10/14] mips: dts: ralink: mt7621: reorder gic " Justin Swartz
2024-03-16  9:22   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 11/14] mips: dts: ralink: mt7621: reorder ethernet node attributes and kids Justin Swartz
2024-03-16  9:22   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 12/14] mips: dts: ralink: mt7621: reorder pcie node attributes and children Justin Swartz
2024-03-16  9:23   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 13/14] mips: dts: ralink: mt7621: reorder pci?_phy attributes Justin Swartz
2024-03-16  9:23   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  4:54 ` [PATCH 14/14] mips: dts: ralink: mt7621: reorder the attributes of the root node Justin Swartz
2024-03-16  9:23   ` Arınç ÜNAL
2024-03-18 10:20   ` AngeloGioacchino Del Regno
2024-03-16  9:24 ` [PATCH 00/14] mips: dts: ralink: mt7621: improve DTS style Arınç ÜNAL
2024-03-16 14:03   ` Justin Swartz
2024-03-16 15:16     ` Arınç ÜNAL
2024-03-16 15:49 ` Sergio Paracuellos
2024-03-17 15:10   ` Krzysztof Kozlowski
2024-03-17 15:22     ` Justin Swartz
2024-03-17 15:29       ` Krzysztof Kozlowski
2024-03-17 15:43         ` Justin Swartz
2024-03-18  8:48           ` Sergio Paracuellos
2024-03-18  9:19             ` Krzysztof Kozlowski
2024-03-18 10:57             ` Justin Swartz
2024-03-18  9:23           ` Krzysztof Kozlowski [this message]
2024-03-18 11:06             ` Justin Swartz
2024-04-08  7:35 ` Arınç ÜNAL
2024-04-15  8:32   ` Thomas Bogendoerfer
2024-04-15  8:33 ` Thomas Bogendoerfer

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=18327bbe-10ad-4b39-ab70-2f74f0d4fb08@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=arinc.unal@arinc9.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=justin.swartz@risingedge.co.za \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=sergio.paracuellos@gmail.com \
    --cc=tsbogend@alpha.franken.de \
    /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