From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Jeremy Kerr To: linuxppc-dev@ozlabs.org Subject: Re: [PATCH] setup_kcore(): Fix incorrect function name in panic() call. Date: Fri, 17 Nov 2006 14:58:10 +1100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200611171458.11245.jk@ozlabs.org> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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