[PATCH] setup_kcore(): Fix incorrect function name in panic() call.

Paul Mackerras paulus at samba.org
Tue Nov 21 09:27:59 EST 2006


Geert Uytterhoeven writes:

> On Fri, 17 Nov 2006, Geert Uytterhoeven wrote:
> > On Fri, 17 Nov 2006, Jeremy Kerr wrote:
> > > 
> > > > -			panic("mem_init: kmalloc failed\n");
> > > > +			panic("setup_kcore: kmalloc failed\n");
> > > 
> > > How about:
> > > 	
> > > 	panic("%s: kmalloc_failed\n", __FUNCTION__);
> > > 
> > > To prevent this happening again?
> > 
> > You're right, thanks for the suggestion!
> 
> Updated patch below:

Grumble.

Please don't send patches that you want to go upstream with a subject
starting with "Re:" and a whole pile of stuff preceding the patch
description.  Do it like Andrew Morton describes in:

http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt

Regards,
Paul.



More information about the Linuxppc-dev mailing list