[Linux-kernel-mentees] [PATCH] MAINTAINERS: temporary patch for testing/fixing MAINTAINERS_STYLE

Aditya yashsri421 at gmail.com
Fri Dec 4 13:05:09 UTC 2020


On 4/12/20 6:23 pm, Lukas Bulwahn wrote:
> On Fri, Dec 4, 2020 at 1:50 PM Aditya Srivastava <yashsri421 at gmail.com> wrote:
>>
>> This patch is a testing patch for testing checkpatch.pl with
>> MAINTAINERS_STYLE warning.
>>
>> In this patch, a random F entry for 6LOWPAN GENERIC (BTLE/IEEE
>> 802.15.4) is added. Also an M entry is added after F
>>
> 
> Okay, what do I need to do next?
> 
Now, we can run the command: ./scripts/parse-maintainers.pl --order

This will produce a MAINTAINERS.new file in the root directory, with
ordered entries.
Then, we can lookup our corresponding section in MAINTAINERS.new and
order it correspondingly manually and create the patch again with
corrected changes.

[The new ordered file we get currently has a lot of changes when
compared with MAINTAINERS. This is so because there are other sections
and entries which need ordering as well. This is the reason, we cannot
directly replace MAINTAINERS with MAINTAINERS.new (as this might
produce more changes than desired for that patch); rather just fix our
modified lines]

> 
>> Signed-off-by: Aditya Srivastava <yashsri421 at gmail.com>
>> ---
>>  MAINTAINERS | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index 6aac0f845f34..7937e76f9871 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -178,6 +178,8 @@ S:  Maintained
>>  F:     Documentation/networking/6lowpan.rst
>>  F:     include/net/6lowpan.h
>>  F:     net/6lowpan/
>> +F:     random/directory
>> +M:     wrongly/ordered
>>
>>  6PACK NETWORK DRIVER FOR AX.25
>>  M:     Andreas Koensgen <ajk at comnets.uni-bremen.de>
>> --
>> 2.17.1
>>



More information about the Linux-kernel-mentees mailing list