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

From: Sven Eckelmann
Date: Fri Jan 05 2018 - 03:44:15 EST


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 seems to create some new false positives:
>
> WARNING: Statements should start on a tabstop
> #919: FILE: ./net/batman-adv/sysfs.c:919:
> + char ifname[IFNAMSIZ])
>
> total: 0 errors, 1 warnings, 0 checks, 1251 lines checked
[...]

Grml, just noticed that I've replied to the wrong mail. This was of course introduced by
http://lkml.kernel.org/r/1b5f97673f36595956ad43329f77bf1a5546d2ff.1513976662.git.joe@xxxxxxxxxxx
and not by this patch.

Kind regards,
Sven

Attachment: signature.asc
Description: This is a digitally signed message part.