Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering

From: Joe Perches
Date: Sun Jul 23 2017 - 16:10:23 EST


On Sun, 2017-07-23 at 13:00 -0700, Linus Torvalds wrote:
> it looks like there were four copies of "GREYBUS PROTOCOLS
> DRIVERS". WTF? I didn't check if there was something else odd going
> on.
>
> I guess they'd need to be made unique somehow too.

right.

Unfortunate about the duplicate section headers.

get_maintainers doesn't care what the section headers are
but your script does.

Easy fix though prior to running the script.

$ grep -P "^[0-9A-Za-z][^:]" MAINTAINERS|sort|uniq -c | sort -rn
      4 GREYBUS PROTOCOLS DRIVERS
      2 SYNC FILE FRAMEWORK
      2 NOKIA N900 CAMERA SUPPORT (ET8EK8 SENSOR, AD5820 FOCUS)