[dpdk-dev] [PATCH] drivers: fix indentation in build files

Thomas Monjalon thomas at monjalon.net
Thu Apr 22 11:20:19 CEST 2021


22/04/2021 10:39, Bruce Richardson:
> On Thu, Apr 22, 2021 at 12:03:57AM +0200, Thomas Monjalon wrote:
> > A couple of mistakes slipped in the mass change.
> > 
> > More mistakes could happen, especially when rebasing pending patches, so
> > we need an automatic check.
> >
> I have a partially-done script from when I was doing the original
> reindenting work, which I'll clean up a little and send on shortly.
> 
> It only checks indent of lists and I'm extending it to check for trailing
> commas, but it may serve as a basis for further checks. On the plus side,
> it does automatic fixing of those issues though. Running it will probably
> show up more minor misses, so I'd suggest holding off on this patch until
> then.

OK, I've sent this patch just for remembering.
I am happy to leave it to you for a v2 :)
Feel free to change the author of course.

Note: I've found tabs with this simple grep:
	git grep ' ' '**/meson.build'
The tab is inserted with ^V-tab.




More information about the dev mailing list