[TCP] tcp_bic: use BUILD_BUG_ON
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 25 Aug 2006 07:38:03 +0000 (00:38 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:18:04 +0000 (15:18 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_bic.c

index b0134ab0837945bb4b4082a3435bd3f845c49440..5730333cd0ac905cef125d22ce03431c2366e4fa 100644 (file)
@@ -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);
 }