Commit 1a7812b2 authored by Markus Elfring's avatar Markus Elfring Committed by Keith Busch

nvme-fabrics: Use seq_putc() in __nvmf_concat_opt_tokens()

Single characters should be put into a sequence.
Thus use the corresponding function “seq_putc”.

This issue was transformed by using the Coccinelle software.
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent ab091ec5
...@@ -1403,10 +1403,10 @@ static void __nvmf_concat_opt_tokens(struct seq_file *seq_file) ...@@ -1403,10 +1403,10 @@ static void __nvmf_concat_opt_tokens(struct seq_file *seq_file)
tok = &opt_tokens[idx]; tok = &opt_tokens[idx];
if (tok->token == NVMF_OPT_ERR) if (tok->token == NVMF_OPT_ERR)
continue; continue;
seq_puts(seq_file, ","); seq_putc(seq_file, ',');
seq_puts(seq_file, tok->pattern); seq_puts(seq_file, tok->pattern);
} }
seq_puts(seq_file, "\n"); seq_putc(seq_file, '\n');
} }
static int nvmf_dev_show(struct seq_file *seq_file, void *private) static int nvmf_dev_show(struct seq_file *seq_file, void *private)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment