WARNING: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants #47: FILE: include/linux/page_frag_cache.h:54: + VM_BUG_ON(!nc->pagecnt_bias); WARNING: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants #89: FILE: mm/page_frag_cache.c:99: + VM_BUG_ON(used_sz > pfrag->size); WARNING: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants #90: FILE: mm/page_frag_cache.c:100: + VM_BUG_ON(pfrag->page != encoded_page_decode_page(nc->encoded_page)); WARNING: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants #91: FILE: mm/page_frag_cache.c:101: + VM_BUG_ON(pfrag->offset + pfrag->size > WARNING: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants #95: FILE: mm/page_frag_cache.c:105: + VM_BUG_ON(nc->offset > pfrag->offset); total: 0 errors, 5 warnings, 0 checks, 118 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 7cbd748f11e8 ("mm: page_frag: some minor refactoring before adding new API") 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, 5 warnings, 0 checks, 118 lines checked