CHECK: extern prototypes should be avoided in .h files #39: FILE: include/linux/gfp.h:394: +extern void free_pages_nolock(struct page *page, unsigned int order); WARNING: line length of 84 exceeds 80 columns #82: FILE: lib/stackdepot.c:676: + free_pages_nolock(virt_to_page(prealloc), DEPOT_POOL_ORDER); WARNING: line length of 87 exceeds 80 columns #141: FILE: mm/page_alloc.c:1289: + split_large_buddy(zone, p, page_to_pfn(p), p_order, fpi_flags); WARNING: line length of 84 exceeds 80 columns #196: FILE: mm/page_alloc.c:2719: + free_one_page(page_zone(page), page, pfn, order, fpi_flags); CHECK: Logical continuations should be on the previous line #204: FILE: mm/page_alloc.c:2727: + if (unlikely((fpi_flags & FPI_TRYLOCK) && IS_ENABLED(CONFIG_PREEMPT_RT) + && (in_nmi() || in_hardirq()))) { WARNING: line length of 87 exceeds 80 columns #212: FILE: mm/page_alloc.c:2734: + free_unref_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:4915: } +void __free_pages(struct page *page, unsigned int order) total: 0 errors, 4 warnings, 3 checks, 229 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 2179e8778825 ("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, 4 warnings, 3 checks, 229 lines checked