All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/5] make use of the helper macro LIST_HEAD()
@ 2024-09-04  9:32 Hongbo Li
  2024-09-04  9:32 ` [PATCH net-next v2 1/5] net/ipv4: " Hongbo Li
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Hongbo Li @ 2024-09-04  9:32 UTC (permalink / raw)
  To: davem, dsahern, edumazet, kuba, pabeni, jmaloy, ying.xue, pablo,
	kadlec, horms
  Cc: netdev, netfilter-devel, lihongbo22

The macro LIST_HEAD() declares a list variable and
initializes it, which can be used to simplify the steps
of list initialization, thereby simplifying the code.
These serials just do some equivalatent substitutions,
and with no functional modifications.

Changes in v2:
  - Keep the reverse xmas tree order as Simon's and
    Pablo's suggested.

Hongbo Li (5):
  net/ipv4: make use of the helper macro LIST_HEAD()
  net/tipc: make use of the helper macro LIST_HEAD()
  net/netfilter: make use of the helper macro LIST_HEAD()
  net/ipv6: make use of the helper macro LIST_HEAD()
  net/core: make use of the helper macro LIST_HEAD()

 net/core/dev.c       | 6 ++----
 net/ipv4/ip_input.c  | 6 ++----
 net/ipv6/ip6_input.c | 6 ++----
 net/netfilter/core.c | 4 +---
 net/tipc/socket.c    | 6 ++----
 5 files changed, 9 insertions(+), 19 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-09-07  1:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04  9:32 [PATCH net-next v2 0/5] make use of the helper macro LIST_HEAD() Hongbo Li
2024-09-04  9:32 ` [PATCH net-next v2 1/5] net/ipv4: " Hongbo Li
2024-09-04  9:32 ` [PATCH net-next v2 2/5] net/tipc: " Hongbo Li
2024-09-04  9:32 ` [PATCH net-next v2 3/5] net/netfilter: " Hongbo Li
2024-09-04 10:03   ` Pablo Neira Ayuso
2024-09-04  9:32 ` [PATCH net-next v2 4/5] net/ipv6: " Hongbo Li
2024-09-04  9:32 ` [PATCH net-next v2 5/5] net/core: " Hongbo Li
2024-09-07  1:20 ` [PATCH net-next v2 0/5] " patchwork-bot+netdevbpf

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.