WARNING: Argument '_key' is not used in function-like macro #58: FILE: include/linux/fault-inject.h:41: +#define FAULT_ATTR_INITIALIZER_KEY(_key) { \ .interval = 1, \ .times = ATOMIC_INIT(1), \ .require_end = ULONG_MAX, \ WARNING: braces {} are not necessary for any arm of this statement #112: FILE: lib/fault-inject.c:205: + if (attr->probability != 0 && val == 0) { [...] + } else if (attr->probability == 0 && val != 0) { [...] WARNING: line length of 81 exceeds 80 columns #135: FILE: lib/fault-inject.c:228: +DEFINE_SIMPLE_ATTRIBUTE(fops_prob, debugfs_prob_get, debugfs_prob_set, "%llu\n"); total: 0 errors, 3 warnings, 0 checks, 100 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 0c6862a1bc0f ("fault-inject: add support for static keys around fault injection sites") 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, 0 checks, 100 lines checked