From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756104AbZERJKL (ORCPT ); Mon, 18 May 2009 05:10:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755888AbZERJJo (ORCPT ); Mon, 18 May 2009 05:09:44 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:34127 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755590AbZERJJn (ORCPT ); Mon, 18 May 2009 05:09:43 -0400 X-IronPort-AV: E=Sophos;i="4.41,208,1241409600"; d="scan'208";a="51614390" Subject: Re: [PATCH] Fix print out of function which called WARN_ON() From: Ian Campbell To: Linus Torvalds CC: Andi Kleen , Jakub Jelinek , Linux Kernel Mailing List , Jesper Nilsson , Johannes Weiner , Arjan van de Ven , Hugh Dickins , Andrew Morton In-Reply-To: References: <1242404236-17624-1-git-send-email-ian.campbell@citrix.com> <4A0DC797.7040502@linux.intel.com> Content-Type: text/plain Organization: Citrix Systems, Inc. Date: Mon, 18 May 2009 10:09:38 +0100 Message-ID: <1242637778.20731.7.camel@zakaz.uk.xensource.com> MIME-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2009-05-16 at 13:47 -0700, Linus Torvalds wrote: > - it uses '%pS' instead of of sprint_symbol [...] > - printk(KERN_WARNING "WARNING: at %s:%d %s()\n", file, > - line, function); > + printk(KERN_WARNING "WARNING: at %s:%d %pS()\n", file, line, caller); Those parens end up looking pretty odd to me with the %pS: WARNING: at [...] local_bh_enable+0x68/0x80() Otherwise it works fine, thanks. Ian.