Re: [PATCH] WARN_ONCE(): use bool for boolean flag

From: Andrew Morton
Date: Tue Sep 29 2009 - 20:17:57 EST


On Tue, 29 Sep 2009 20:12:28 -0300
Cesar Eduardo Barros <cesarb@xxxxxxxxxx> wrote:

> Commit 70867453092297be9afb2249e712a1f960ec0a09 changed printk_once()
> to use bool instead of int for its guard variable. Do the same change
> to WARN_ONCE() and WARN_ON_ONCE(), for the same reasons.
>

Again, it would be useful were this changelog to describe the impact
upon kernel code size, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/