WARNING: Argument 'net' is not used in function-like macro #53: FILE: include/linux/rtnetlink.h:77: +#define ASSERT_RTNL_NET(net) ASSERT_RTNL() WARNING: Argument 'net' is not used in function-like macro #55: FILE: include/linux/rtnetlink.h:79: +#define rcu_dereference_rtnl_net(net, p) \ + rcu_dereference_rtnl(p) WARNING: Argument 'net' is not used in function-like macro #57: FILE: include/linux/rtnetlink.h:81: +#define rtnl_net_dereference(net, p) \ + rtnl_dereference(p) WARNING: Argument 'net' is not used in function-like macro #59: FILE: include/linux/rtnetlink.h:83: +#define rcu_replace_pointer_rtnl_net(net, rp, p) \ + rcu_replace_pointer_rtnl(rp, p) total: 0 errors, 4 warnings, 0 checks, 54 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit e7322dbaa7b1 ("rtnetlink: Add assertion helpers for per-netns RTNL.") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 4 warnings, 0 checks, 54 lines checked