CHECK: extern prototypes should be avoided in .h files #48: FILE: drivers/hid/bpf/progs/hid_bpf_helpers.h:36: +extern int bpf_wq_set_callback(struct bpf_wq *wq, CHECK: Alignment should match open parenthesis #49: FILE: drivers/hid/bpf/progs/hid_bpf_helpers.h:37: +extern int bpf_wq_set_callback(struct bpf_wq *wq, + int (*callback_fn)(void *, int *, void *), CHECK: extern prototypes should be avoided in .h files #67: FILE: tools/testing/selftests/hid/progs/hid_bpf_helpers.h:119: +extern int bpf_wq_set_callback(struct bpf_wq *wq, CHECK: Alignment should match open parenthesis #68: FILE: tools/testing/selftests/hid/progs/hid_bpf_helpers.h:120: +extern int bpf_wq_set_callback(struct bpf_wq *wq, + int (*callback_fn)(void *, int *, void *), total: 0 errors, 0 warnings, 4 checks, 27 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 8ffa2ca877ef ("HID: Use bpf_wq_set_callback kernel function") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 0 warnings, 4 checks, 27 lines checked