From 2ed4b0bd7c0ef394dfbd6d9d901c8ae3afa1a2f4 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sun, 15 Jan 2023 10:18:32 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71940 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Maximilian Brune Reviewed-by: Felix Singer --- util/lint/checkpatch.pl | 7 ------- 1 file changed, 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;