From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752223AbbFDKAs (ORCPT ); Thu, 4 Jun 2015 06:00:48 -0400 Received: from smtprelay0107.hostedemail.com ([216.40.44.107]:52459 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751371AbbFDKAj (ORCPT ); Thu, 4 Jun 2015 06:00:39 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1801:2393:2559:2562:2689:2828:3138:3139:3140:3141:3142:3352:3622:3653:3865:3866:3868:3871:4321:4605:5007:6261:7903:7974:9121:10004:10400:10848:11026:11232:11233:11658:11914:12043:12438:12517:12519:12555:12740:13019:13069:13311:13357:14096:14097:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: slip10_53d47d829450 X-Filterd-Recvd-Size: 2251 Message-ID: <1433412034.4861.137.camel@perches.com> Subject: Re: [PATCH] checkpatch: remove local from codespell path From: Joe Perches To: Maxim Uvarov , Andrew Morton Cc: linux-kernel@vger.kernel.org, apw@canonical.com Date: Thu, 04 Jun 2015 03:00:34 -0700 In-Reply-To: <1433409721-11276-1-git-send-email-maxim.uvarov@linaro.org> References: <1433409721-11276-1-git-send-email-maxim.uvarov@linaro.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 Acked-by: Joe Perches > --- > 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 >