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

index 649ebaed1df1d22c2023d34fb77c8fb659536c64..308fb7e071c56faaebbf742e6fc07cc0ecbabdc8 100644 (file)
@@ -327,7 +327,7 @@ static struct tcp_congestion_ops tcp_lp = {
 
 static int __init tcp_lp_register(void)
 {
-       BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE);
+       BUILD_BUG_ON(sizeof(struct lp) > ICSK_CA_PRIV_SIZE);
        return tcp_register_congestion_control(&tcp_lp);
 }