* [patch 01/19] list_for_each: net-ipv6-ip6_fib.c
@ 2005-01-11 23:10 domen
0 siblings, 0 replies; only message in thread
From: domen @ 2005-01-11 23:10 UTC (permalink / raw)
To: jgarzik; +Cc: netdev, domen, janitor
Hi.
s/for/list_for_each/
Compile tested.
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/net/ipv6/ip6_fib.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN net/ipv6/ip6_fib.c~list-for-each-drivers_net_ipv6_ip6_fib net/ipv6/ip6_fib.c
--- kj/net/ipv6/ip6_fib.c~list-for-each-drivers_net_ipv6_ip6_fib 2005-01-10 17:59:48.000000000 +0100
+++ kj-domen/net/ipv6/ip6_fib.c 2005-01-10 17:59:48.000000000 +0100
@@ -99,7 +99,7 @@ struct fib6_walker_t fib6_walker_list =
.next = &fib6_walker_list,
};
-#define FOR_WALKERS(w) for ((w)=fib6_walker_list.next; (w) != &fib6_walker_list; (w)=(w)->next)
+#define FOR_WALKERS(w) list_for_each((w), &fib6_walker_list)
static __inline__ u32 fib6_new_sernum(void)
{
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-11 23:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-11 23:10 [patch 01/19] list_for_each: net-ipv6-ip6_fib.c domen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).