diff --git a/[refs] b/[refs] index c14ab0601326..9ef5142b1bea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5f7ddae6104d85e27c0fbcb508cfe8286a01a5e1 +refs/heads/master: 5150bda43c58cdce7eb851c3fe2ca913524459a0 diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index d7a44fd3b224..25d716cc44dc 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -1791,9 +1791,9 @@ sub process { WARN("EXPORT_SYMBOL(foo); should immediately follow its function/variable\n" . $herecurr); } -# check for external initialisers. +# check for global initialisers. if ($line =~ /^.$Type\s*$Ident\s*(?:\s+$Modifier)*\s*=\s*(0|NULL|false)\s*;/) { - ERROR("do not initialise externals to 0 or NULL\n" . + ERROR("do not initialise globals to 0 or NULL\n" . $herecurr); } # check for static initialisers.