RE: [PATCH 03/25] [net] BUG to BUG_ON changes

From: Brandeburg, Jesse
Date: Tue Mar 10 2009 - 15:54:50 EST


Stoyan Gaydarov wrote:
> Signed-off-by: Stoyan Gaydarov <stoyboyker@xxxxxxxxx>
> ---
> drivers/net/atl1e/atl1e_main.c | 3 +--
> drivers/net/chelsio/sge.c | 3 +--
> drivers/net/ixgb/ixgb_osdep.h | 2 +-
> drivers/net/pppol2tp.c | 3 +--
> drivers/net/wireless/ath9k/core.h | 6 +-----
> 5 files changed, 5 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/net/ixgb/ixgb_osdep.h
> b/drivers/net/ixgb/ixgb_osdep.h
> index d92e72b..371a6be 100644
> --- a/drivers/net/ixgb/ixgb_osdep.h
> +++ b/drivers/net/ixgb/ixgb_osdep.h
> @@ -40,7 +40,7 @@
> #include <linux/sched.h>
>
> #undef ASSERT
> -#define ASSERT(x) if (!(x)) BUG()
> +#define ASSERT(x) BUG_ON(!(x))
> #define MSGOUT(S, A, B) printk(KERN_DEBUG S "\n", A, B)
>
> #ifdef DBG

ack the ixgb portion

Acked-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>
--
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/