]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: colorize output to terminal
authorJoe Perches <joe@perches.com>
Thu, 25 Jun 2015 22:03:03 +0000 (15:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Jun 2015 00:00:41 +0000 (17:00 -0700)
commitc09d933e0d5857de11a3e121632c57e0d891fd4c
tree081ddaa65c4245c1b902823a20073ce4d29f87bb
parent6862a64656d6440ea383a6bd9f8cba9c4d06943c
checkpatch: colorize output to terminal

Add optional colors to make seeing message types a bit easier.

Add --color command line switch, default:on

Error is RED, warning is YELLOW, check is GREEN.  The message type, if
shown, is BLUE.

Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Petr Mladek <pmladek@suse.cz>
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