diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-01-15 10:18:32 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2023-02-17 14:50:29 +0000 |
commit | 2ed4b0bd7c0ef394dfbd6d9d901c8ae3afa1a2f4 (patch) | |
tree | 15a091dd66b2966af665bf16c3ccad4287b402f2 /util/lint | |
parent | 655f7362e13ca49e3e13a822c916c7dc52573d74 (diff) |
lint/checkpatch.pl: Remove check for keyword 'boolean' in Kconfig
We can not use 'boolean' since commit 53ea1d44 "util/kconfig: Uprev to Linux 5.13's kconfig".
This also reduce difference with upstream.
Change-Id: Iff9fbde46784547c07726816d2fdd71967e0595e
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71940
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'util/lint')
-rwxr-xr-x | util/lint/checkpatch.pl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/util/lint/checkpatch.pl b/util/lint/checkpatch.pl index e88461fc7c..a8a91e8ea1 100755 --- a/util/lint/checkpatch.pl +++ b/util/lint/checkpatch.pl @@ -3245,13 +3245,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.*/) && ($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) { my $flag = $1; |