The patch titled Subject: fs/autofs/inode.c: use seq_puts() for simple strings in autofs_show_options() has been added to the -mm tree. Its filename is autofs-use-seq_puts-for-simple-strings-in-autofs_show_options.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/autofs-use-seq_puts-for-simple-strings-in-autofs_show_options.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/autofs-use-seq_puts-for-simple-strings-in-autofs_show_options.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Ian Kent <raven@xxxxxxxxxx> Subject: fs/autofs/inode.c: use seq_puts() for simple strings in autofs_show_options() Fix checkpatch.sh WARNING about the use of seq_printf() to print simple strings in autofs_show_options(), use seq_puts() in this case. Link: http://lkml.kernel.org/r/154889012613.4863.12231175554744203482.stgit@pluto-themaw-net Signed-off-by: Ian Kent <raven@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/fs/autofs/inode.c~autofs-use-seq_puts-for-simple-strings-in-autofs_show_options +++ a/fs/autofs/inode.c @@ -82,20 +82,20 @@ static int autofs_show_options(struct se seq_printf(m, ",maxproto=%d", sbi->max_proto); if (autofs_type_offset(sbi->type)) - seq_printf(m, ",offset"); + seq_puts(m, ",offset"); else if (autofs_type_direct(sbi->type)) - seq_printf(m, ",direct"); + seq_puts(m, ",direct"); else - seq_printf(m, ",indirect"); + seq_puts(m, ",indirect"); if (sbi->flags & AUTOFS_SBI_STRICTEXPIRE) - seq_printf(m, ",strictexpire"); + seq_puts(m, ",strictexpire"); if (sbi->flags & AUTOFS_SBI_IGNORE) - seq_printf(m, ",ignore"); + seq_puts(m, ",ignore"); #ifdef CONFIG_CHECKPOINT_RESTORE if (sbi->pipe) seq_printf(m, ",pipe_ino=%ld", file_inode(sbi->pipe)->i_ino); else - seq_printf(m, ",pipe_ino=-1"); + seq_puts(m, ",pipe_ino=-1"); #endif return 0; } _ Patches currently in -mm which might be from raven@xxxxxxxxxx are autofs-fix-error-return-in-autofs_fill_super.patch autofs-add-ignore-mount-option.patch autofs-use-seq_puts-for-simple-strings-in-autofs_show_options.patch