From: Markus Elfring Date: Wed, 3 Jul 2019 13:33:09 +0000 (+0200) Subject: NFS: Use seq_putc() in nfs_show_stats() X-Git-Tag: v5.3-rc1~35^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bcaa35c686d65091e833f6c97a20baa31d0e870;p=thirdparty%2Fkernel%2Flinux.git NFS: Use seq_putc() in nfs_show_stats() A single character (line break) should be put into a sequence. Thus use the corresponding function “seq_putc”. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/super.c b/fs/nfs/super.c index d01def299d404..6f1749e702026 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -905,7 +905,7 @@ int nfs_show_stats(struct seq_file *m, struct dentry *root) seq_printf(m, "%Lu ", totals.fscache[i]); } #endif - seq_printf(m, "\n"); + seq_putc(m, '\n'); rpc_clnt_show_stats(m, nfss->client);