login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
17
Re: [patch] Printk kernel version in WARN_ON
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Arjan van de Ven <arjan@...>
Cc: <linux-kernel@...>, <mingo@...>, <tglx@...>
Subject:
Re: [patch] Printk kernel version in WARN_ON
Date: Saturday, November 17, 2007 - 2:27 pm
On Sat, 17 Nov 2007 10:15:52 -0800 Arjan van de Ven <arjan@infradead.org> wrote:
quoted text
> @@ -35,8 +36,8 @@ struct bug_entry { > #define WARN_ON(condition) ({ \ > int __ret_warn_on = !!(condition); \ > if (unlikely(__ret_warn_on)) { \ > - printk("WARNING: at %s:%d %s()\n", __FILE__, \ > - __LINE__, __FUNCTION__); \ > + printk("WARNING: at %s:%d %s() (%s)\n", __FILE__, \ > + __LINE__, __FUNCTION__, UTS_RELEASE); \ > dump_stack(); \ > } \ > unlikely(__ret_warn_on); \
that made our 1100-odd WARN_ON sites fatter. I suppose sometime we should optimise WARN_ON like we did BUG_ON. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch] Printk kernel version in WARN_ON
, Arjan van de Ven
, (Sat Nov 17, 2:15 pm)
Re: [patch] Printk kernel version in WARN_ON
, Denys Vlasenko
, (Sat Nov 17, 7:02 pm)
Re: [patch] Printk kernel version in WARN_ON
, Sam Ravnborg
, (Sat Nov 17, 3:28 pm)
Re: [patch] Printk kernel version in WARN_ON
, Andrew Morton
, (Sat Nov 17, 2:27 pm)
Re: [patch] Printk kernel version in WARN_ON
, Arjan van de Ven
, (Sat Nov 17, 2:39 pm)
Re: [patch] Printk kernel version in WARN_ON
, Andrew Morton
, (Sat Nov 17, 2:46 pm)
Re: [patch] Printk kernel version in WARN_ON
, Arjan van de Ven
, (Sat Nov 17, 3:35 pm)
Re: [patch] Printk kernel version in WARN_ON
, Ingo Molnar
, (Sat Nov 17, 8:42 pm)
Re: [patch] Printk kernel version in WARN_ON
, Andrew Morton
, (Sat Nov 17, 8:57 pm)
Re: [patch] Printk kernel version in WARN_ON
, Arjan van de Ven
, (Sun Nov 18, 1:18 pm)
Re: [patch] Printk kernel version in WARN_ON
, Ingo Molnar
, (Sat Nov 17, 9:04 pm)
Re: [patch] Printk kernel version in WARN_ON
, Sam Ravnborg
, (Sat Nov 17, 3:42 pm)
Re: [patch] Printk kernel version in WARN_ON
, Pavel Machek
, (Wed Nov 21, 8:51 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Theodore Tso
fallocate-implementation-on-i86-x86_64-and-powerpc.patch (was: re: -mm merge plans...
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Greg KH
Re: [RFC/PATCH] Documentation of kernel messages
linux-netdev
:
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Tom Herbert
[PATCH] Software receive packet steering
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Wes Chow
Re: Multicast packet loss
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
992 guests
online.
Online users
Nelson
zeekec
ppcloophole
strcmp
honeyairtuz
Syndicate