login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
3
Re: [patch 1/3] move WARN_ON() out of line
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Pekka Enberg <penberg@...>
To: Arjan van de Ven <arjan@...>
Cc: <linux-kernel@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>
Subject:
Re: [patch 1/3] move WARN_ON() out of line
Date: Thursday, January 3, 2008 - 7:20 am
Hi Arjan, On Jan 3, 2008 2:56 AM, Arjan van de Ven <arjan@linux.intel.com> wrote:
quoted text
> +int do_warn_on(const unsigned long condition, const char *file, > + const int line, const char *function) > +{ > + if (unlikely(condition)) { > + printk(KERN_WARNING "WARNING: at %s:%d %s()\n", > + __FILE__, __LINE__, __FUNCTION__);
I don't think you want to use __FILE__ and friends here... --
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 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Wed Jan 2, 8:56 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Jeremy Fitzhardinge
, (Sat Jan 5, 2:41 am)
Re: [patch 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Sat Jan 5, 2:01 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Jeremy Fitzhardinge
, (Sat Jan 5, 2:45 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Sat Jan 5, 4:02 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Sat Jan 5, 2:08 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Sat Jan 5, 2:37 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Dmitri Vorobiev
, (Sat Jan 5, 1:09 am)
Re: [patch 1/3] move WARN_ON() out of line
, Pekka Enberg
, (Thu Jan 3, 7:20 am)
Re: [patch 1/3] move WARN_ON() out of line
, Ingo Molnar
, (Thu Jan 3, 5:25 am)
Re: [patch 1/3] move WARN_ON() out of line
, Jeremy Fitzhardinge
, (Sat Jan 5, 2:42 am)
Re: [patch 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Thu Jan 3, 12:22 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Olof Johansson
, (Thu Jan 3, 12:58 am)
Re: [patch 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Thu Jan 3, 5:03 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Matt Mackall
, (Wed Jan 2, 9:59 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Thu Jan 3, 5:06 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Herbert Xu
, (Fri Jan 4, 10:35 pm)
Re: [patch 1/3] move WARN_ON() out of line
, Arjan van de Ven
, (Sat Jan 5, 2:33 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
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
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Matheos Worku
2.6.24 BUG: soft lockup - CPU#X
Colocation donated by:
Who's online
There are currently
2 users
and
923 guests
online.
Online users
zeekec
K-Z
Syndicate