mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-13 00:29:50 +00:00
x86, cpufeature: Remove stray %s, add -w to mkcapflags.pl
There was a stray %s left from testing, remove it. Add -w to the #! line (which is parsed by Perl even if the Perl interpreter is invoked explicitly on the command line) to catch these kinds of errors in the future. Reported-by: Jean Delvare <khali@linux-fr.org> Link: http://lkml.kernel.org/r/20120626143246.0c9bf301@endymion.delvare Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
55f6cb9d0b
commit
1b6b7c9ff3
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/perl -w
|
||||||
#
|
#
|
||||||
# Generate the x86_cap_flags[] array from include/asm-x86/cpufeature.h
|
# Generate the x86_cap_flags[] array from include/asm-x86/cpufeature.h
|
||||||
#
|
#
|
||||||
@ -29,7 +29,7 @@ while (defined($line = <IN>)) {
|
|||||||
print STDERR "$in: duplicate feature name: $feature\n";
|
print STDERR "$in: duplicate feature name: $feature\n";
|
||||||
$err++;
|
$err++;
|
||||||
}
|
}
|
||||||
printf OUT "\t%-32s = \"%s\",%s\n", "[$macro]", $feature;
|
printf OUT "\t%-32s = \"%s\",\n", "[$macro]", $feature;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print OUT "};\n";
|
print OUT "};\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user