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

Jeremy Kerr jk at ozlabs.org
Fri Nov 17 14:58:10 EST 2006


Geert,

> -			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?


Jeremy



More information about the Linuxppc-dev mailing list