Re: [PATCH 1/5] ARM: dts: microchip: Clean up spacing and indentation

From: Andrei.Simion
Date: Wed Aug 14 2024 - 09:33:28 EST


On 14.08.2024 16:20, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> On 14/08/2024 14:26, Andrei Simion wrote:
>> Checkpatch.pl reports some ERRORS related
>> to coding style (spacing and indentation).
>> So clean up : checkpatch.pl --fix-inplace
>
> Please wrap commit message according to Linux coding style / submission
> process (neither too early nor over the limit):
> https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
>

checkpatch.pl has no lower limit for the number of characters.
If you want 75 cols. OK for me.


> Please be specific what are you changing.
>

It was a bigger/bloated patch and I split it into smaller
ones based on what ARM/Microchip (AT91) Maintainer said.

>
>>
>> Signed-off-by: Andrei Simion <andrei.simion@xxxxxxxxxxxxx>
>> ---
>> Split the bloated patch into small patches on topics
>> based on comments:
>> https://lore.kernel.org/linux-arm-kernel/89f51615-0dee-4ab0-ab72-e3c057fee1e7@xxxxxxxxx/
>> ---
>> arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts | 2 +-
>> arch/arm/boot/dts/microchip/at91-sama5d27_som1_ek.dts | 8 ++++----
>> arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 8 ++++----
>> arch/arm/boot/dts/microchip/at91sam9263ek.dts | 2 +-
>> 4 files changed, 10 insertions(+), 10 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts b/arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts
>> index 04cb7bee937d..1279dfb38300 100644
>> --- a/arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts
>> +++ b/arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts
>> @@ -7,7 +7,7 @@
>> * HCE Engineering
>> *
>> * Derived from at91sam9g35ek.dts by:
>> - * Copyright (C) 2012 Atmel,
>> + * Copyright (C) 2012 Atmel,
>
> Not sure what you are fixing here, but unnecessary tab was here before
> and still exists...
>

WARNING: please, no space before tabs
#10: FILE: arch/arm/boot/dts/microchip/at91-cosino_mega2560.dts:10:
+ * ^ICopyright (C) 2012 Atmel,$

after this patch : this warning disappears.

>> * 2012 Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
>> */
>>
>
> Best regards,
> Krzysztof
>

BR,
Andrei Simion