WARNING: function definition argument 'void *' should also have an identifier name #183: FILE: arch/powerpc/platforms/pseries/setup.c:344: + int (*ctor)(void *) = get_dtl_cache_ctor(); WARNING: function definition argument 'void *' should also have an identifier name #1452: FILE: include/linux/slab.h:338: + int (*ctor)(void *); WARNING: braces {} are not necessary for single statement blocks #1715: FILE: mm/slub.c:2572: + if (!cur) { + return false; + } CHECK: Please use a blank line after function/struct/union/enum declarations #1747: FILE: mm/slub.c:2607: } +static inline bool shuffle_freelist(struct kmem_cache *s, struct slab *slab) total: 0 errors, 3 warnings, 1 checks, 1337 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 79ee87dcb8d4 ("treewide, slab: allow slab constructor to return an error") 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, 1 checks, 1337 lines checked