Quellcode durchsuchen

[TCP] tcp_bic: use BUILD_BUG_ON

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Alexey Dobriyan vor 18 Jahren
Ursprung
Commit
65e3d72654
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      net/ipv4/tcp_bic.c

+ 1 - 1
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);
 }