WARNING: line length of 94 exceeds 80 columns #99: FILE: fs/nfsd/netlink.c:26: +static const struct nla_policy nfsd_version_set_nl_policy[NFSD_A_SERVER_PROTO_VERSION + 1] = { WARNING: line length of 82 exceeds 80 columns #100: FILE: fs/nfsd/netlink.c:27: + [NFSD_A_SERVER_PROTO_VERSION] = NLA_POLICY_NESTED(nfsd_version_nl_policy), WARNING: line length of 82 exceeds 80 columns #134: FILE: fs/nfsd/netlink.h:15: +extern const struct nla_policy nfsd_version_nl_policy[NFSD_A_VERSION_ENABLED + 1]; CHECK: extern prototypes should be avoided in .h files #156: FILE: fs/nfsd/netns.h:221: +extern bool nfsd_support_version(int vers); WARNING: line length of 86 exceeds 80 columns #221: FILE: fs/nfsd/nfsctl.c:1767: + nfsd_minorversion(nn, minor, enabled ? NFSD_SET : NFSD_CLEAR); WARNING: line length of 86 exceeds 80 columns #226: FILE: fs/nfsd/nfsctl.c:1772: + nfsd_vers(nn, major, enabled ? NFSD_SET : NFSD_CLEAR); CHECK: Alignment should match open parenthesis #284: FILE: fs/nfsd/nfsctl.c:1830: + attr = nla_nest_start_noflag(skb, + NFSD_A_SERVER_PROTO_VERSION); total: 0 errors, 5 warnings, 2 checks, 307 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 5efd47a97b7f ("NFSD: add write_version to netlink command") 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, 5 warnings, 2 checks, 307 lines checked