WARNING: storage class 'static' should be located before type '__bpf_kfunc' #59: FILE: net/mptcp/bpf.c:59: +__bpf_kfunc static int WARNING: Where possible, use lockdep_assert_held instead of assertions based on spin_is_locked #76: FILE: net/mptcp/bpf.c:76: + !spin_is_locked(&sk->sk_lock.slock)) WARNING: storage class 'static' should be located before type '__bpf_kfunc' #83: FILE: net/mptcp/bpf.c:83: +__bpf_kfunc static struct mptcp_subflow_context * WARNING: storage class 'static' should be located before type '__bpf_kfunc' #95: FILE: net/mptcp/bpf.c:95: +__bpf_kfunc static void total: 0 errors, 4 warnings, 0 checks, 69 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 a748159a14fe ("bpf: Add mptcp_subflow bpf_iter") 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, 69 lines checked