summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2015-06-25 18:03:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 20:00:41 -0400
commitf1a63678554f8f7ff0425361b0142a69c0b815df (patch)
tree719bdf15a498f867a6dd0ea95594c6c7e4ffa786 /scripts
parent34d8815f9512b01757e08f8101730503c87b6353 (diff)
checkpatch: remove local from codespell path
local is typically used for manually installed apps. For apps installed from distro the right path is /usr/share. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Acked-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 46ebc6a0fa58..ef24f92e10e5 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -50,7 +50,7 @@ my $minimum_perl_version = 5.10.0;
50my $min_conf_desc_length = 4; 50my $min_conf_desc_length = 4;
51my $spelling_file = "$D/spelling.txt"; 51my $spelling_file = "$D/spelling.txt";
52my $codespell = 0; 52my $codespell = 0;
53my $codespellfile = "/usr/local/share/codespell/dictionary.txt"; 53my $codespellfile = "/usr/share/codespell/dictionary.txt";
54my $color = 1; 54my $color = 1;
55 55
56sub help { 56sub help {
@@ -95,7 +95,7 @@ Options:
95 --ignore-perl-version override checking of perl version. expect 95 --ignore-perl-version override checking of perl version. expect
96 runtime errors. 96 runtime errors.
97 --codespell Use the codespell dictionary for spelling/typos 97 --codespell Use the codespell dictionary for spelling/typos
98 (default:/usr/local/share/codespell/dictionary.txt) 98 (default:/usr/share/codespell/dictionary.txt)
99 --codespellfile Use this codespell dictionary 99 --codespellfile Use this codespell dictionary
100 --color Use colors when output is STDOUT (default: on) 100 --color Use colors when output is STDOUT (default: on)
101 -h, --help, --version display this help and exit 101 -h, --help, --version display this help and exit