summaryrefslogtreecommitdiff
path: root/arch/powerpc/relocs_check.pl
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2013-05-29 09:18:28 +0200
committerJiri Kosina <jkosina@suse.cz>2013-05-29 15:11:30 +0200
commit8b05537e03cb0e89abf51c72d26861db6df3933f (patch)
tree3bf1db5e07eba6559cfda2ed07e34e05d32a7043 /arch/powerpc/relocs_check.pl
parent360603a1be2c7dc940105575f7dd1b8b82d1c3b3 (diff)
downloadlwn-8b05537e03cb0e89abf51c72d26861db6df3933f.tar.gz
lwn-8b05537e03cb0e89abf51c72d26861db6df3933f.zip
Fix warning typo "CONFIG_RELCOATABLE"
Fix typo "CONFIG_RELCOATABLE" in a warning message. While we're at it, also make that warning an actual sentence and fix comparable typos in some comments. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/powerpc/relocs_check.pl')
-rwxr-xr-xarch/powerpc/relocs_check.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/relocs_check.pl b/arch/powerpc/relocs_check.pl
index 7f5b83808862..3f46e8b9c56d 100755
--- a/arch/powerpc/relocs_check.pl
+++ b/arch/powerpc/relocs_check.pl
@@ -7,7 +7,7 @@
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
-# This script checks the relcoations of a vmlinux for "suspicious"
+# This script checks the relocations of a vmlinux for "suspicious"
# relocations.
use strict;
@@ -28,7 +28,7 @@ open(FD, "$objdump -R $vmlinux|") or die;
while (<FD>) {
study $_;
- # Only look at relcoation lines.
+ # Only look at relocation lines.
next if (!/\s+R_/);
# These relocations are okay
@@ -45,7 +45,7 @@ while (<FD>) {
/\bR_PPC_ADDR16_HA\b/ or /\bR_PPC_RELATIVE\b/ or
/\bR_PPC_NONE\b/);
- # If we see this type of relcoation it's an idication that
+ # If we see this type of relocation it's an idication that
# we /may/ be using an old version of binutils.
if (/R_PPC64_UADDR64/) {
$old_binutils++;
@@ -61,6 +61,6 @@ if ($bad_relocs_count) {
}
if ($old_binutils) {
- print "WARNING: You need at binutils >= 2.19 to build a ".
- "CONFIG_RELCOATABLE kernel\n";
+ print "WARNING: You need at least binutils >= 2.19 to build a ".
+ "CONFIG_RELOCATABLE kernel\n";
}