From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S980145AbdDYC76 (ORCPT ); Mon, 24 Apr 2017 22:59:58 -0400 Received: from smtprelay0022.hostedemail.com ([216.40.44.22]:57349 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S940274AbdDYC7t (ORCPT ); Mon, 24 Apr 2017 22:59:49 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:541:599:800:960:967:973:988:989:1260:1263:1277:1311:1313:1314:1345:1359:1373:1431:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2194:2199:2393:2525:2553:2560:2563:2682:2685:2828:2859:2895:2902:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3870:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4043:4321:5007:7576:7901:9025:10004:10400:10848:11026:11232:11257:11473:11657:11658:11914:12043:12048:12295:12438:12555:12740:12760:12895:12986:13069:13311:13357:13439:14096:14097:14106:14181:14659:14721:14849:21080:21451:30054:30064:30070:30079:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:3,LUA_SUMMARY:none X-HE-Tag: toes77_1acd7c083ac44 X-Filterd-Recvd-Size: 2600 Message-ID: <1493089177.31620.3.camel@perches.com> Subject: Re: [PATCH 20/22] tools arch: Sync arch/x86/lib/memcpy_64.S with the kernel From: Joe Perches To: "Luck, Tony" , Arnaldo Carvalho de Melo , Andy Whitcroft Cc: Ingo Molnar , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo Date: Mon, 24 Apr 2017 19:59:37 -0700 In-Reply-To: <20170424203630.GA18000@intel.com> References: <20170424195439.29875-1-acme@kernel.org> <20170424195439.29875-21-acme@kernel.org> <20170424203630.GA18000@intel.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 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 Mon, 2017-04-24 at 13:36 -0700, Luck, Tony wrote: > On Mon, Apr 24, 2017 at 04:54:37PM -0300, Arnaldo Carvalho de Melo wrote: > > From: Arnaldo Carvalho de Melo > > > > Just a minor fix done in: > > > > Fixes: 26a37ab319a2 ("x86/mce: Fix copy/paste error in exception table entries") > > > > Cc: Tony Luck > > Link: http://lkml.kernel.org/n/tip-ni9jzdd5yxlail6pq8cuexw2@git.kernel.org > > Signed-off-by: Arnaldo Carvalho de Melo > > --- > > tools/arch/x86/lib/memcpy_64.S | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/tools/arch/x86/lib/memcpy_64.S b/tools/arch/x86/lib/memcpy_64.S > > index 49e6ebac7e73..98dcc112b363 100644 > > --- a/tools/arch/x86/lib/memcpy_64.S > > +++ b/tools/arch/x86/lib/memcpy_64.S > > @@ -286,7 +286,7 @@ ENDPROC(memcpy_mcsafe_unrolled) > > _ASM_EXTABLE_FAULT(.L_copy_leading_bytes, .L_memcpy_mcsafe_fail) > > _ASM_EXTABLE_FAULT(.L_cache_w0, .L_memcpy_mcsafe_fail) > > _ASM_EXTABLE_FAULT(.L_cache_w1, .L_memcpy_mcsafe_fail) > > - _ASM_EXTABLE_FAULT(.L_cache_w3, .L_memcpy_mcsafe_fail) > > + _ASM_EXTABLE_FAULT(.L_cache_w2, .L_memcpy_mcsafe_fail) > > _ASM_EXTABLE_FAULT(.L_cache_w3, .L_memcpy_mcsafe_fail) > > _ASM_EXTABLE_FAULT(.L_cache_w4, .L_memcpy_mcsafe_fail) > > _ASM_EXTABLE_FAULT(.L_cache_w5, .L_memcpy_mcsafe_fail) > > If we are going to have all these copies of kernel files below > "tools/...", perhaps checkpatch could warn people touching one > that the other needs the same update? How would checkpatch know tools hasn't already updated the other?