CHECK: extern prototypes should be avoided in .h files #46: FILE: include/linux/kernel.h:90: +extern void __might_sleep_precision(const char *file, int len, int line); WARNING: line length of 83 exceeds 80 columns #54: FILE: include/linux/kernel.h:149: +static inline void __might_sleep_precision(const char *file, int len, int line) { } CHECK: spaces preferred around that '<<' (ctx:VxV) #119: FILE: kernel/sched/core.c:8759: +#define MAX_FILENAME_LEN (1<<14) ^ CHECK: Prefer using the BIT macro #119: FILE: kernel/sched/core.c:8759: +#define MAX_FILENAME_LEN (1<<14) CHECK: Alignment should match open parenthesis #136: FILE: kernel/sched/core.c:8776: + WARN_ONCE(state != TASK_RUNNING && current->task_state_change, + "do not call blocking ops when !TASK_RUNNING; " total: 0 errors, 1 warnings, 4 checks, 101 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 c8a5a8c385a6 ("sched/core: Add __might_sleep_precision()") 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, 1 warnings, 4 checks, 101 lines checked