CHECK: extern prototypes should be avoided in .h files #43: FILE: kernel/kexec_internal.h:39: +extern bool pe_has_bpf_section(const char *file_buf, unsigned long pe_sz); CHECK: extern prototypes should be avoided in .h files #44: FILE: kernel/kexec_internal.h:40: +extern int pe_get_section(const char *file_buf, const char *sect_name, CHECK: Alignment should match open parenthesis #45: FILE: kernel/kexec_internal.h:41: +extern int pe_get_section(const char *file_buf, const char *sect_name, + char **sect_start, unsigned long *sect_sz); CHECK: Alignment should match open parenthesis #108: FILE: kernel/kexec_uefi_app.c:54: +int pe_get_section(const char *file_buf, const char *sect_name, + char **sect_start, unsigned long *sect_sz) total: 0 errors, 0 warnings, 4 checks, 97 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 8e71626b0226 ("kexec_file: Introduce routines to parse PE file") 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, 97 lines checked