CHECK: extern prototypes should be avoided in .h files #40: FILE: include/linux/gfp.h:382: +extern void free_pages_nolock(struct page *page, unsigned int order); WARNING: line length of 84 exceeds 80 columns #83: FILE: lib/stackdepot.c:676: + free_pages_nolock(virt_to_page(prealloc), DEPOT_POOL_ORDER); WARNING: line length of 87 exceeds 80 columns #142: FILE: mm/page_alloc.c:1289: + split_large_buddy(zone, p, page_to_pfn(p), p_order, fpi_flags); CHECK: Logical continuations should be on the previous line #204: FILE: mm/page_alloc.c:2728: + if (unlikely((fpi_flags & FPI_TRYLOCK) && IS_ENABLED(CONFIG_PREEMPT_RT) + && (in_nmi() || in_hardirq()))) { WARNING: line length of 88 exceeds 80 columns #212: FILE: mm/page_alloc.c:2735: + free_frozen_page_commit(zone, pcp, page, migratetype, order, fpi_flags); CHECK: Please use a blank line after function/struct/union/enum declarations #261: FILE: mm/page_alloc.c:4913: } +void __free_pages(struct page *page, unsigned int order) total: 0 errors, 3 warnings, 3 checks, 228 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 430b04c06b25 ("mm, bpf: Introduce free_pages_nolock()") 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, 3 checks, 228 lines checked