* [PATCH] tcp_lp: use BUILD_BUG_ON
@ 2006-08-25 1:08 Alexey Dobriyan
2006-08-25 7:37 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2006-08-25 1:08 UTC (permalink / raw)
To: netdev
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
net/ipv4/tcp_lp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/ipv4/tcp_lp.c
+++ b/net/ipv4/tcp_lp.c
@@ -321,7 +321,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);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tcp_lp: use BUILD_BUG_ON
2006-08-25 1:08 [PATCH] tcp_lp: use BUILD_BUG_ON Alexey Dobriyan
@ 2006-08-25 7:37 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-08-25 7:37 UTC (permalink / raw)
To: adobriyan; +Cc: netdev
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Fri, 25 Aug 2006 05:08:31 +0400
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-25 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-25 1:08 [PATCH] tcp_lp: use BUILD_BUG_ON Alexey Dobriyan
2006-08-25 7:37 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.