Re: [B.A.T.M.A.N.] checkpatch: Add test for keywords not starting on tabstops

2018-01-05 Thread Sven Eckelmann
On Freitag, 5. Januar 2018 09:30:27 CET Sven Eckelmann wrote: > On Donnerstag, 21. April 2016 12:41:37 CET Joe Perches wrote: > > It's somewhat common and in general a defect for c90 keywords to > > not start on a tabstop. > > > > Add a test for this condition and warn when it occurs. > > This see

Re: checkpatch: Add test for keywords not starting on tabstops

2018-01-05 Thread Sven Eckelmann
On Donnerstag, 21. April 2016 12:41:37 CET Joe Perches wrote: > It's somewhat common and in general a defect for c90 keywords to > not start on a tabstop. > > Add a test for this condition and warn when it occurs. This seems to create some new false positives: WARNING: Statements should star

[PATCH] checkpatch: Add test for keywords not starting on tabstops

2016-04-21 Thread Joe Perches
It's somewhat common and in general a defect for c90 keywords to not start on a tabstop. Add a test for this condition and warn when it occurs. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 13 + 1 file changed, 13 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts