checkpatch: complain only about actual leading spaces
Change-Id: Ia591966a35765bfc560bd823be488257537e6530 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
e03f561588
commit
34ffa15669
|
@ -2619,7 +2619,7 @@ sub process {
|
|||
"Use of $flag is deprecated, please use \`$replacement->{$flag} instead.\n" . $herecurr) if ($replacement->{$flag});
|
||||
}
|
||||
# Kconfig use tabs and no spaces in line
|
||||
if ($realfile =~ /Kconfig/ && $rawline =~ /^\+\t*[ ]+/) {
|
||||
if ($realfile =~ /Kconfig/ && $rawline =~ /^\+ /) {
|
||||
my $herevet = "$here\n" . cat_vet($rawline) . "\n";
|
||||
WARN("LEADING_SPACE",
|
||||
"please, no spaces at the start of a line\n" . $herevet);
|
||||
|
|
Loading…
Reference in a new issue