From: Alexey Dobriyan Date: Fri, 25 Aug 2006 07:38:03 +0000 (-0700) Subject: [TCP] tcp_bic: use BUILD_BUG_ON X-Git-Tag: v2.6.19-rc1~1272^2~122 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e3d72654d9a33cdccd5c19777a5515ae9dd37d;p=linux-2.6 [TCP] tcp_bic: use BUILD_BUG_ON Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_bic.c b/net/ipv4/tcp_bic.c index b0134ab083..5730333cd0 100644 --- 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); }