Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1614679
| From | Arushi Singhal <arushisinghal19971997@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/4] net: ipv6: Remove exceptional & on function name |
| Date | 2017-04-02 11:30 +0200 |
| Message-ID | <trJZD-71T-1@gated-at.bofh.it> (permalink) |
| References | <trJZD-71T-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Remove & from function pointers to conform to the style found elsewhere
in the file. Done using the following semantic patch
// <smpl>
@r@
identifier f;
@@
f(...) { ... }
@@
identifier r.f;
@@
- &f
+ f
// </smpl>
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
net/ipv6/netfilter/nft_fib_ipv6.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv6/netfilter/nft_fib_ipv6.c b/net/ipv6/netfilter/nft_fib_ipv6.c
index 765facf03d45..8cb8d79bab79 100644
--- a/net/ipv6/netfilter/nft_fib_ipv6.c
+++ b/net/ipv6/netfilter/nft_fib_ipv6.c
@@ -246,7 +246,7 @@ nft_fib6_select_ops(const struct nft_ctx *ctx,
static struct nft_expr_type nft_fib6_type __read_mostly = {
.name = "fib",
- .select_ops = &nft_fib6_select_ops,
+ .select_ops = nft_fib6_select_ops,
.policy = nft_fib_policy,
.maxattr = NFTA_FIB_MAX,
.family = NFPROTO_IPV6,
--
2.11.0
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 4/4] net: ipv6: Remove exceptional & on function name Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-04-02 11:30 +0200
csiph-web