From: Alexey Dobriyan Date: Fri, 25 Aug 2006 07:38:03 +0000 (-0700) Subject: [TCP] tcp_bic: use BUILD_BUG_ON X-Git-Tag: Ubuntu-5.10.0-12.13~52347^2~122 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=65e3d72654d9a33cdccd5c19777a5515ae9dd37d;p=mirror_ubuntu-hirsute-kernel.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); }