Fix misalignment of policy statement in netlink.c due to automatic
spatch code transformation.

Fixes: 3b0f31f2b8c9 ("genetlink: make policy common to family")
Acked-by: Jon Maloy <jon.ma...@ericsson.com>
Signed-off-by: John Rutherford <john.rutherf...@dektech.com.au>
---
 net/tipc/netlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/tipc/netlink.c b/net/tipc/netlink.c
index 99bd166..d6165ad 100644
--- a/net/tipc/netlink.c
+++ b/net/tipc/netlink.c
@@ -261,7 +261,7 @@ struct genl_family tipc_genl_family __ro_after_init = {
        .version        = TIPC_GENL_V2_VERSION,
        .hdrsize        = 0,
        .maxattr        = TIPC_NLA_MAX,
-       .policy = tipc_nl_policy,
+       .policy         = tipc_nl_policy,
        .netnsok        = true,
        .module         = THIS_MODULE,
        .ops            = tipc_genl_v2_ops,
-- 
2.11.0

Reply via email to