WARNING: line length of 88 exceeds 80 columns #40: FILE: include/linux/page_frag_cache.h:76: +static inline unsigned int page_frag_cache_page_offset(const struct page_frag_cache *nc) WARNING: line length of 92 exceeds 80 columns #52: FILE: include/linux/page_frag_cache.h:134: +static inline bool __page_frag_refill_align(struct page_frag_cache *nc, unsigned int fragsz, WARNING: line length of 84 exceeds 80 columns #53: FILE: include/linux/page_frag_cache.h:135: + struct page_frag *pfrag, gfp_t gfp_mask, WARNING: line length of 90 exceeds 80 columns #56: FILE: include/linux/page_frag_cache.h:138: + if (unlikely(!__page_frag_cache_prepare(nc, fragsz, pfrag, gfp_mask, align_mask))) WARNING: line length of 90 exceeds 80 columns #63: FILE: include/linux/page_frag_cache.h:145: +static inline bool page_frag_refill_align(struct page_frag_cache *nc, unsigned int fragsz, WARNING: line length of 82 exceeds 80 columns #64: FILE: include/linux/page_frag_cache.h:146: + struct page_frag *pfrag, gfp_t gfp_mask, WARNING: line length of 84 exceeds 80 columns #71: FILE: include/linux/page_frag_cache.h:153: +static inline bool page_frag_refill(struct page_frag_cache *nc, unsigned int fragsz, WARNING: line length of 84 exceeds 80 columns #83: FILE: include/linux/page_frag_cache.h:165: + return !!__page_frag_cache_prepare(nc, fragsz, pfrag, gfp_mask, align_mask); WARNING: line length of 85 exceeds 80 columns #93: FILE: include/linux/page_frag_cache.h:175: + return __page_frag_refill_prepare_align(nc, fragsz, pfrag, gfp_mask, -align); WARNING: line length of 82 exceeds 80 columns #101: FILE: include/linux/page_frag_cache.h:183: + return __page_frag_refill_prepare_align(nc, fragsz, pfrag, gfp_mask, ~0u); WARNING: line length of 86 exceeds 80 columns #104: FILE: include/linux/page_frag_cache.h:186: +static inline void *__page_frag_alloc_refill_prepare_align(struct page_frag_cache *nc, WARNING: line length of 83 exceeds 80 columns #106: FILE: include/linux/page_frag_cache.h:188: + struct page_frag *pfrag, WARNING: line length of 83 exceeds 80 columns #108: FILE: include/linux/page_frag_cache.h:190: + unsigned int align_mask) WARNING: line length of 82 exceeds 80 columns #110: FILE: include/linux/page_frag_cache.h:192: + return __page_frag_cache_prepare(nc, fragsz, pfrag, gfp_mask, align_mask); ERROR: code indent should use tabs where possible #110: FILE: include/linux/page_frag_cache.h:192: + return __page_frag_cache_prepare(nc, fragsz, pfrag, gfp_mask, align_mask);$ WARNING: please, no spaces at the start of a line #110: FILE: include/linux/page_frag_cache.h:192: + return __page_frag_cache_prepare(nc, fragsz, pfrag, gfp_mask, align_mask);$ WARNING: line length of 84 exceeds 80 columns #113: FILE: include/linux/page_frag_cache.h:195: +static inline void *page_frag_alloc_refill_prepare_align(struct page_frag_cache *nc, WARNING: line length of 81 exceeds 80 columns #115: FILE: include/linux/page_frag_cache.h:197: + struct page_frag *pfrag, WARNING: line length of 91 exceeds 80 columns #120: FILE: include/linux/page_frag_cache.h:202: + return __page_frag_alloc_refill_prepare_align(nc, fragsz, pfrag, gfp_mask, -align); WARNING: line length of 88 exceeds 80 columns #128: FILE: include/linux/page_frag_cache.h:210: + return __page_frag_alloc_refill_prepare_align(nc, fragsz, pfrag, gfp_mask, ~0u); WARNING: line length of 84 exceeds 80 columns #131: FILE: include/linux/page_frag_cache.h:213: +static inline void *__page_frag_alloc_refill_probe_align(struct page_frag_cache *nc, WARNING: line length of 81 exceeds 80 columns #133: FILE: include/linux/page_frag_cache.h:215: + struct page_frag *pfrag, WARNING: line length of 81 exceeds 80 columns #134: FILE: include/linux/page_frag_cache.h:216: + unsigned int align_mask) WARNING: line length of 88 exceeds 80 columns #165: FILE: include/linux/page_frag_cache.h:247: +static inline void page_frag_commit(struct page_frag_cache *nc, struct page_frag *pfrag, WARNING: line length of 88 exceeds 80 columns #172: FILE: include/linux/page_frag_cache.h:254: + struct page_frag *pfrag, unsigned int used_sz) WARNING: line length of 89 exceeds 80 columns #177: FILE: include/linux/page_frag_cache.h:259: +static inline void page_frag_alloc_abort(struct page_frag_cache *nc, unsigned int fragsz) 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 #179: FILE: include/linux/page_frag_cache.h:261: + VM_BUG_ON(fragsz > nc->offset); total: 1 errors, 26 warnings, 0 checks, 150 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. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile Commit cda641c85eb5 ("mm: page_frag: introduce prepare/probe/commit 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.