ERROR: do not initialise globals to 0 #145: FILE: tools/testing/selftests/hornet/trivial.bpf.c:11: +int monitored_pid = 0; CHECK: No space is necessary after a cast #154: FILE: tools/testing/selftests/hornet/trivial.bpf.c:20: + char *pathname_ptr = (char *) BPF_CORE_READ(ctx, args[1]); total: 1 errors, 0 warnings, 1 checks, 124 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 62a2d77477b5 ("selftests/hornet: Add a selftest for the Hornet LSM") 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.