mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Maxim Uvarov <maxim.uvarov@linaro.org>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, apw@canonical.com
Subject: Re: [PATCH] checkpatch: remove local from codespell path
Date: Thu, 04 Jun 2015 03:00:34 -0700	[thread overview]
Message-ID: <1433412034.4861.137.camel@perches.com> (raw)
In-Reply-To: <1433409721-11276-1-git-send-email-maxim.uvarov@linaro.org>

On Thu, 2015-06-04 at 12:22 +0300, Maxim Uvarov wrote:
> local is typically used for manually installed apps,
> for apps installed from distro right patch is /usr/share
> 
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

Acked-by: Joe Perches <joe@perches.com>

> ---
>  scripts/checkpatch.pl | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 89b1df4..a1cbc6d 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -48,7 +48,7 @@ my $minimum_perl_version = 5.10.0;
>  my $min_conf_desc_length = 4;
>  my $spelling_file = "$D/spelling.txt";
>  my $codespell = 0;
> -my $codespellfile = "/usr/local/share/codespell/dictionary.txt";
> +my $codespellfile = "/usr/share/codespell/dictionary.txt";
>  
>  sub help {
>  	my ($exitcode) = @_;
> @@ -91,7 +91,7 @@ Options:
>    --ignore-perl-version      override checking of perl version.  expect
>                               runtime errors.
>    --codespell                Use the codespell dictionary for spelling/typos
> -                             (default:/usr/local/share/codespell/dictionary.txt)
> +                             (default:/usr/share/codespell/dictionary.txt)
>    --codespellfile            Use this codespell dictionary
>    -h, --help, --version      display this help and exit
>  




      reply	other threads:[~2015-06-04 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-04  9:22 Maxim Uvarov
2015-06-04 10:00 ` Joe Perches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433412034.4861.137.camel@perches.com \
    --to=joe@perches.com \
    --cc=akpm@linux-foundation.org \
    --cc=apw@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxim.uvarov@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®