[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140708.162204.1648218023530822781.davem@davemloft.net>
Date: Tue, 08 Jul 2014 16:22:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: himangi774@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
julia.lawall@...6.fr
Subject: Re: [PATCH] iaf_packet: use BUG_ON
From: Himangi Saraogi <himangi774@...il.com>
Date: Wed, 9 Jul 2014 03:50:23 +0530
> Use BUG_ON(x) rather than if(x) BUG();
>
> The semantic patch that fixes this problem is as follows:
>
> // <smpl>
> @@ identifier x; @@
> -if (x) BUG();
> +BUG_ON(x);
> // </smpl>
>
> Signed-off-by: Himangi Saraogi <himangi774@...il.com>
> Acked-by: Julia Lawall <julia.lawall@...6.fr>
Please repost this with a proper subject line, correcting "iaf_packet".
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists