[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1254060189.20648.462.camel@desktop>
Date: Sun, 27 Sep 2009 07:03:09 -0700
From: Daniel Walker <dwalker@...o99.com>
To: Cesar Eduardo Barros <cesarb@...arb.net>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Roland Dreier <rolandd@...co.com>
Subject: Re: [PATCH] WARN_ONCE(): use bool for boolean flag
On Sun, 2009-09-27 at 10:53 -0300, Cesar Eduardo Barros wrote:
> #define
> WARN_ON_ONCE(condition) ({ \
> - static int __warned; \
> + static bool __warned; \
> int __ret_warn_once = !!(condition); \
Could __ret_warn_once be bool also ? It looks like just another
conditional variable..
Daniel
--
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