WARNING: Argument 'net' is not used in function-like macro #52: FILE: include/linux/rtnetlink.h:80: +#define ASSERT_RTNL_NET(net) ASSERT_RTNL() WARNING: Argument 'net' is not used in function-like macro #54: FILE: include/linux/rtnetlink.h:82: +#define rcu_dereference_rtnl_net(net, p) \ + rcu_dereference_rtnl(p) WARNING: Argument 'net' is not used in function-like macro #56: FILE: include/linux/rtnetlink.h:84: +#define rtnl_net_dereference(net, p) \ + rtnl_dereference(p) WARNING: Argument 'net' is not used in function-like macro #58: FILE: include/linux/rtnetlink.h:86: +#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 b5f4dd63f227 ("rtnetlink: Add assertion helpers for per-net 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