[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1242637778.20731.7.camel@zakaz.uk.xensource.com>
Date: Mon, 18 May 2009 10:09:38 +0100
From: Ian Campbell <Ian.Campbell@...rix.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Andi Kleen <ak@...ux.intel.com>, Jakub Jelinek <jakub@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jesper Nilsson <jesper.nilsson@...s.com>,
Johannes Weiner <hannes@...xchg.org>,
Arjan van de Ven <arjan@...ux.intel.com>,
Hugh Dickins <hugh@...itas.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] Fix print out of function which called WARN_ON()
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists