mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
Revert "checkpatch: add check for keyword 'boolean' in Kconfig definitions"
This reverts commit327953e9af
. You cannot use 'boolean' since commitb92d804a51
("kconfig: drop 'boolean' keyword"). This check is no longer needed. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Joe Perches <joe@perches.com>
This commit is contained in:
parent
2cea4a7a18
commit
ae9162e2be
1 changed files with 0 additions and 7 deletions
|
@ -3390,13 +3390,6 @@ sub process {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# discourage the use of boolean for type definition attributes of Kconfig options
|
|
||||||
if ($realfile =~ /Kconfig/ &&
|
|
||||||
$line =~ /^\+\s*\bboolean\b/) {
|
|
||||||
WARN("CONFIG_TYPE_BOOLEAN",
|
|
||||||
"Use of boolean is deprecated, please use bool instead.\n" . $herecurr);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
|
if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) &&
|
||||||
($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) {
|
($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) {
|
||||||
my $flag = $1;
|
my $flag = $1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue