From: Alexey Dobriyan Date: Fri, 25 Aug 2006 07:37:24 +0000 (-0700) Subject: [TCP] tcp_lp: use BUILD_BUG_ON X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=298969727e7b855d53f3becfa92c055914082ec4;p=openwrt%2Fstaging%2Fblogic.git [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 649ebaed1df1..308fb7e071c5 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); }