CHECK: Blank lines aren't necessary after an open brace '{' #79: FILE: fs/bpf_fs_kfuncs.c:204: +{ + WARNING: line length of 82 exceeds 80 columns #163: FILE: fs/bpf_fs_kfuncs.c:288: +__bpf_kfunc int bpf_set_dentry_xattr(struct dentry *dentry, const char *name__str, WARNING: line length of 81 exceeds 80 columns #164: FILE: fs/bpf_fs_kfuncs.c:289: + const struct bpf_dynptr *value_p, int flags) WARNING: line length of 85 exceeds 80 columns #189: FILE: fs/bpf_fs_kfuncs.c:314: +__bpf_kfunc int bpf_remove_dentry_xattr(struct dentry *dentry, const char *name__str) WARNING: line length of 84 exceeds 80 columns #246: FILE: fs/bpf_fs_kfuncs.c:374: + return btf_id_set_contains(&d_inode_locked_hooks, prog->aux->attach_btf_id); WARNING: line length of 81 exceeds 80 columns #262: FILE: include/linux/bpf_lsm.h:53: +int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str); WARNING: line length of 91 exceeds 80 columns #272: FILE: include/linux/bpf_lsm.h:94: +static inline int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, CHECK: Please use a blank line after function/struct/union/enum declarations #272: FILE: include/linux/bpf_lsm.h:94: } +static inline int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, WARNING: line length of 90 exceeds 80 columns #273: FILE: include/linux/bpf_lsm.h:95: + const struct bpf_dynptr *value_p, int flags) WARNING: line length of 94 exceeds 80 columns #277: FILE: include/linux/bpf_lsm.h:99: +static inline int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str) CHECK: Please use a blank line after function/struct/union/enum declarations #277: FILE: include/linux/bpf_lsm.h:99: +} +static inline int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str) CHECK: Please use a blank line after function/struct/union/enum declarations #281: FILE: include/linux/bpf_lsm.h:103: +} +static inline bool bpf_lsm_has_d_inode_locked(const struct bpf_prog *prog) total: 0 errors, 8 warnings, 4 checks, 292 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 5fd428476cbf ("bpf: fs/xattr: Add BPF kfuncs to set and remove xattrs") 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, 8 warnings, 4 checks, 292 lines checked