Re: [patch 1/5] Introduce __WARN()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Richard Knutsson
Date: Sunday, January 6, 2008 - 4:44 am

Arjan van de Ven wrote:
What about using a boolean for __ret_warn_on, which then let us remove 
the '!!'?
(btw, wouldn't 'var != 0' actually be the proper semantic instead of 
playing with '!'s?)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/5] enhance WARN_ON series, Arjan van de Ven, (Sat Jan 5, 8:07 pm)
[patch 1/5] Introduce __WARN(), Arjan van de Ven, (Sat Jan 5, 8:08 pm)
[patch 4/5] bugh-remove-have_arch_bug--have_arch_warn, Arjan van de Ven, (Sat Jan 5, 8:11 pm)
[patch 5/5] PowerPC: switch to generic WARN_ON / BUG_ON, Arjan van de Ven, (Sat Jan 5, 8:12 pm)
Re: [patch 0/5] enhance WARN_ON series, Ingo Molnar, (Sun Jan 6, 2:26 am)
Re: [patch 5/5] PowerPC: switch to generic WARN_ON / BUG_ON, Benjamin Herrenschmidt, (Sun Jan 6, 4:16 am)
Re: [patch 1/5] Introduce __WARN(), Richard Knutsson, (Sun Jan 6, 4:44 am)
Re: [patch 1/5] Introduce __WARN(), Arjan van de Ven, (Sun Jan 6, 8:42 am)
Re: [patch 1/5] Introduce __WARN(), Richard Knutsson, (Sun Jan 6, 9:09 am)
Re: [patch 1/5] Introduce __WARN(), Richard Knutsson, (Sun Jan 6, 10:42 am)
Re: [patch 2/5] move WARN_ON() out of line, Olof Johansson, (Sun Jan 6, 12:40 pm)
[PATCH] Add bug/warn marker to generic report_bug(), Olof Johansson, (Sun Jan 6, 1:22 pm)
Re: [PATCH] Add bug/warn marker to generic report_bug(), Arjan van de Ven, (Sun Jan 6, 2:38 pm)
Re: [PATCH] Add bug/warn marker to generic report_bug(), Olof Johansson, (Sun Jan 6, 6:22 pm)
Re: [PATCH] Add bug/warn marker to generic report_bug(), Arjan van de Ven, (Sun Jan 6, 9:55 pm)