From: Andrew Morton Subject: add-fat-messages-to-printk-index-checkpatch-fixes WARNING: 'changable' may be misspelled - perhaps 'changeable'? #7: changable ad-hoc format strings (as they always have; no change of ^^^^^^^^^ ERROR: space required before the open parenthesis '(' #41: FILE: fs/fat/fat.h:442: +} while(0) total: 1 errors, 1 warnings, 43 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. ./patches/add-fat-messages-to-printk-index.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Jonathan Lassoff Cc: OGAWA Hirofumi Signed-off-by: Andrew Morton --- fs/fat/fat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/fat/fat.h~add-fat-messages-to-printk-index-checkpatch-fixes +++ a/fs/fat/fat.h @@ -439,7 +439,7 @@ void __fat_fs_error(struct super_block * do { \ printk_index_subsys_emit(FAT_PRINTK_PREFIX, level, fmt, ##args);\ _fat_msg(sb, level, fmt, ##args); \ -} while(0) +} while (0) __printf(3, 4) __cold void _fat_msg(struct super_block *sb, const char *level, const char *fmt, ...); #define fat_msg_ratelimit(sb, level, fmt, args...) \ _