summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-08-25 09:37:24 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-23 00:18:03 +0200
commit298969727e7b855d53f3becfa92c055914082ec4 (patch)
treef9aa6930cfe4d3beede0cd1f7fbbace8783bfb96 /net
parent[NET] in6_pton: Kill errant printf statement. (diff)
downloadlinux-298969727e7b855d53f3becfa92c055914082ec4.tar.xz
linux-298969727e7b855d53f3becfa92c055914082ec4.zip
[TCP] tcp_lp: use BUILD_BUG_ON
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp_lp.c2
1 files changed, 1 insertions, 1 deletions
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);
}