From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Dobriyan Subject: [PATCH] tcp_bic: use BUILD_BUG_ON Date: Fri, 25 Aug 2006 05:08:02 +0400 Message-ID: <20060825010802.GK5204@martell.zuzino.mipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from ug-out-1314.google.com ([66.249.92.168]:32876 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S1030493AbWHYBIH (ORCPT ); Thu, 24 Aug 2006 21:08:07 -0400 Received: by ug-out-1314.google.com with SMTP id m3so685875ugc for ; Thu, 24 Aug 2006 18:08:06 -0700 (PDT) To: netdev@vger.kernel.org Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Signed-off-by: Alexey Dobriyan --- net/ipv4/tcp_bic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/ipv4/tcp_bic.c +++ b/net/ipv4/tcp_bic.c @@ -231,7 +231,7 @@ static struct tcp_congestion_ops bictcp static int __init bictcp_register(void) { - BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE); + BUILD_BUG_ON(sizeof(struct bictcp) > ICSK_CA_PRIV_SIZE); return tcp_register_congestion_control(&bictcp); }