WARNING: line length of 83 exceeds 80 columns #28: FILE: include/linux/kexec.h:26: +#if defined(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) || defined(CONFIG_KEXEC_PE_IMAGE) WARNING: line length of 83 exceeds 80 columns #39: FILE: include/linux/kexec.h:557: +#if defined(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) || defined(CONFIG_KEXEC_PE_IMAGE) CHECK: spaces preferred around that '*' (ctx:WxV) #40: FILE: include/linux/kexec.h:558: +const Elf_Sym *elf_find_symbol(const Elf_Ehdr *ehdr, const char *name); ^ CHECK: spaces preferred around that '*' (ctx:WxV) #40: FILE: include/linux/kexec.h:558: +const Elf_Sym *elf_find_symbol(const Elf_Ehdr *ehdr, const char *name); ^ WARNING: line length of 83 exceeds 80 columns #54: FILE: kernel/kexec_file.c:883: +#if defined(CONFIG_ARCH_SUPPORTS_KEXEC_PURGATORY) || defined(CONFIG_KEXEC_PE_IMAGE) CHECK: spaces preferred around that '/' (ctx:VxV) #75: FILE: kernel/kexec_file.c:904: + for (k = 0; k < sechdrs[i].sh_size/sizeof(Elf_Sym); k++) { ^ CHECK: Alignment should match open parenthesis #85: FILE: kernel/kexec_file.c:914: + pr_debug("Symbol: %s has bad section index %d.\n", + name, syms[k].st_shndx); total: 0 errors, 3 warnings, 4 checks, 121 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 52d9c8df3868 ("kexec: Factor out routine to find a symbol in ELF") 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, 3 warnings, 4 checks, 121 lines checked