Re: [PATCH] tile: replace some BUG_ON checks with BUILD_BUG_ON checks

From: Chris Metcalf
Date: Tue Oct 05 2010 - 12:50:48 EST


On 10/5/2010 11:55 AM, Akinobu Mita wrote:
> Some BUG_ON checks can be detected at compile time rather than
> at runtime.
>
> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>
> Cc: Chris Metcalf <cmetcalf@xxxxxxxxxx>
> ---
>
> This patch is not compile tested.

It compiles fine.

Accepted, thanks. I also noticed another one in arch/tile/kernel/setup.c,
so I'll fix that one too.

--
Chris Metcalf, Tilera Corp.
http://www.tilera.com

--
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/