From: Alexey Dobriyan Date: Fri, 25 Aug 2006 07:38:03 +0000 (-0700) Subject: [TCP] tcp_bic: use BUILD_BUG_ON X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=65e3d72654d9a33cdccd5c19777a5515ae9dd37d;p=linux-beck.git [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 b0134ab08379..5730333cd0ac 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); }