X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=scripts%2Fcheckpatch.pl;h=1afe3af1cc09726c0e0c91c3803b0f8a020584b8;hb=dbc0f5dc58dcf3c2f552fed846f706eeb59e2cc0;hp=92e888ed939f9833a3b17f32ae7d15813ec4c46f;hpb=d7631e4378f26c8e1ba1ad372888e89e69678709;p=mirror_ubuntu-hirsute-kernel.git diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 92e888ed939f..1afe3af1cc09 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -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.*/) && ($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) { my $flag = $1;