Re: [PATCH] Replace deprecated __initcall with device_initcall and fix whitespaces in kernel/kallsyms.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 18, 2009 at 08:49:21PM +0530, Manish Katiyar wrote:
> On Tue, Feb 17, 2009 at 6:02 PM, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
> >>
> >> Hmm.....after doing the changes when I saw the md5sum they are
> >> different :-( . Considering that I have done only whitespace fixes,
> >> few comments which exceeded 80 cols and replacing __initcall with
> >> device_initcall(). The sizes of object files are same.
> >> How should I go about finding why is the difference ?
> >
> > Binary search undoing your changes one-by-one.
> >
> > My bet is that it is either:
> > 1) Move of EXPORT_SYMBOL
> > 2) Delete one line where you moved an opening brace
> >
> > The approch here is simple.
> > Split the patch is two parts.
> > One that keep the md5 sum, and a second much smaller patch that impact
> > the md5 sum. In this way you make it easier to review the changes that
> > impact the md5 sum.
> 
> Hi Sam,
> 
> I am bit confused, apparently it looks like change in comments is
> causing md5sum to change. See the output below.

Thats because your change add an extra line. And __LINE__ is used
by BUG_ON later in the file - so now it sees a new line numbers
and thus md5 sum changes.

	Sam
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux