]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/checkpatch.pl: reset rpt_cleaners warnings
authorMike Frysinger <vapier@gentoo.org>
Tue, 22 Mar 2011 23:34:43 +0000 (16:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:15 +0000 (17:44 -0700)
commitf7ecdebc84e4c323c1de9fa663d61915c3f44e88
tree04767f9d01945aab963bbc3b4ca90589ff9a854e
parent927cff769571e4b3db9506009b59843f5c92d290
scripts/checkpatch.pl: reset rpt_cleaners warnings

If you run checkpatch against multiple patches, and one of them has a
whitespace issue which can be helped via a script (rpt_cleaners), you will
see the same NOTE over and over for all subsequent patches.  It makes it
seem like those patches also have whitespace problems when in reality,
there's only one or two bad apples.

So reset rpt_cleaners back to 0 after we've issued the note so that it
only shows up near the patch with the actual problems.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl