diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-05-09 03:23:52 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-05-17 09:44:58 -0400 |
commit | a6b04f0ed5e931d4be5bf466ad469e2ac25ad6da (patch) | |
tree | 1a7a516e885d8921ee2352d334fa8b55ca87a249 /scripts | |
parent | a6214385005333202c8cc1744c7075a9e1a26b9a (diff) |
checkpatch: remove VMLINUX_SYMBOL() check
Now that VMLINUX_SYMBOL() is no-op and being removed, let's stop
checking VMLINUX_SYMBOL().
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index e16d6713f236..ce582a820c92 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -5121,16 +5121,6 @@ sub process { | |||
5121 | } | 5121 | } |
5122 | } | 5122 | } |
5123 | 5123 | ||
5124 | # make sure symbols are always wrapped with VMLINUX_SYMBOL() ... | ||
5125 | # all assignments may have only one of the following with an assignment: | ||
5126 | # . | ||
5127 | # ALIGN(...) | ||
5128 | # VMLINUX_SYMBOL(...) | ||
5129 | if ($realfile eq 'vmlinux.lds.h' && $line =~ /(?:(?:^|\s)$Ident\s*=|=\s*$Ident(?:\s|$))/) { | ||
5130 | WARN("MISSING_VMLINUX_SYMBOL", | ||
5131 | "vmlinux.lds.h needs VMLINUX_SYMBOL() around C-visible symbols\n" . $herecurr); | ||
5132 | } | ||
5133 | |||
5134 | # check for redundant bracing round if etc | 5124 | # check for redundant bracing round if etc |
5135 | if ($line =~ /(^.*)\bif\b/ && $1 !~ /else\s*$/) { | 5125 | if ($line =~ /(^.*)\bif\b/ && $1 !~ /else\s*$/) { |
5136 | my ($level, $endln, @chunks) = | 5126 | my ($level, $endln, @chunks) = |