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:56:
+	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:104:
+	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:105:
+	VM_BUG_ON(pfrag->page != page_frag_encoded_page_ptr(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:106:
+	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:110:
+	VM_BUG_ON(nc->offset > pfrag->offset);

WARNING: From:/Signed-off-by: email address mismatch: 'From: Yunsheng Lin <yunshenglin0825@gmail.com>' != 'Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>'

total: 0 errors, 6 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 9f4e713bd176 ("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, 6 warnings, 0 checks, 118 lines checked