From: Alexey Dobriyan Date: Fri, 25 Aug 2006 07:37:24 +0000 (-0700) Subject: [TCP] tcp_lp: use BUILD_BUG_ON X-Git-Tag: v2.6.19-rc1~1272^2~123 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=298969727e7b855d53f3becfa92c055914082ec4;p=linux-2.6 [TCP] tcp_lp: use BUILD_BUG_ON Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c index 649ebaed1d..308fb7e071 100644 --- a/net/ipv4/tcp_lp.c +++ b/net/ipv4/tcp_lp.c @@ -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); }