Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754741AbaJNCTn (ORCPT ); Mon, 13 Oct 2014 22:19:43 -0400 Received: from smtprelay0068.hostedemail.com ([216.40.44.68]:51102 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754037AbaJNCTm (ORCPT ); Mon, 13 Oct 2014 22:19:42 -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:1261:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2693:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4250:4321:5007:7652:8603:8957:10004:10400:10450:10455:10848:11232:11658:11914:12517:12519:12740:13069:13161:13229:13255:13311:13357:14096:14097:19904:19999: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: sign03_1a3a4986edd37 X-Filterd-Recvd-Size: 2427 Message-ID: <1413253178.3269.2.camel@joe-AO725> Subject: Re: [PATCH] staging: dgap: re-arrange functions for removing forward declarations. From: Joe Perches To: Greg KH Cc: DaeSeok Youn , devel , driverdev-devel@linuxdriverproject.org, linux-kernel , Lidza Louina , Dan Carpenter Date: Mon, 13 Oct 2014 19:19:38 -0700 In-Reply-To: <20141014020433.GA25433@kroah.com> References: <20141013023425.GA15452@devel> <20141013032544.GA26646@kroah.com> <1413212198.1287.9.camel@joe-AO725> <20141014020433.GA25433@kroah.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.10.4-0ubuntu2 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 Tue, 2014-10-14 at 04:04 +0200, Greg KH wrote: > On Mon, Oct 13, 2014 at 07:56:38AM -0700, Joe Perches wrote: > > On Mon, 2014-10-13 at 17:01 +0900, DaeSeok Youn wrote: > > > 2014-10-13 12:25 GMT+09:00 Greg KH : > > > > On Mon, Oct 13, 2014 at 11:34:25AM +0900, Daeseok Youn wrote: > > > >> Re-arrange the functions for removing forward declarations. [] > > > >> This patch has too many changes for re-arranging the functions. > > > >> So I wonder that I should break this up into smaller patches. > > > > Are the .o files identical before and after this patch? If so, it's > > > > fine. > > > Ok. I will check for that. > > The .o files shouldn't be identical after function reordering. > > Hm, they might be the same size, but I can see how on some > architectures (like ppc) how that would not be the case, you are right. > > Isn't there an "objdiff" program or something like that which might help > in validating that nothing "changed" in the source for type of patch > that just moves functions around in a file. There is a scripts/objdiff, but that is basically for whitespace only changes. I don't know of a way to compare objects when functions are rearranged in the source file. Anyone else? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/