CHECK: extern prototypes should be avoided in .h files #53: FILE: include/linux/khugepaged.h:16: +extern void khugepaged_enter_vma(struct vm_area_struct *vma); CHECK: extern prototypes should be avoided in .h files #54: FILE: include/linux/khugepaged.h:17: +extern void khugepaged_enter_mm(struct mm_struct *mm); CHECK: Please use a blank line after function/struct/union/enum declarations #64: FILE: include/linux/khugepaged.h:41: } +static inline void khugepaged_enter_vma(struct vm_area_struct *vma) CHECK: Please use a blank line after function/struct/union/enum declarations #67: FILE: include/linux/khugepaged.h:44: +} +static inline void khugepaged_enter_mm(struct mm_struct *mm) WARNING: line length of 84 exceeds 80 columns #124: FILE: mm/khugepaged.c:466: + if (!thp_vma_allowable_order(vma, vma->vm_flags, TVA_KHUGEPAGED, PMD_ORDER)) total: 0 errors, 1 warnings, 4 checks, 107 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 e21754639420 ("mm: thp: remove vm_flags parameter from khugepaged_enter_vma()") 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, 1 warnings, 4 checks, 107 lines checked