diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-12-11 11:01:57 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2018-01-12 15:07:26 -0800 |
commit | 09f99a3dfadce47ba868cee318d55d249eb4e413 (patch) | |
tree | 4a5eb12904a518c6e6d56dc24fbeed962d7fd840 | |
parent | 2dfe3511ce8c15f25c121f30353dcf02b074ef15 (diff) | |
download | linux-09f99a3dfadce47ba868cee318d55d249eb4e413.tar.gz linux-09f99a3dfadce47ba868cee318d55d249eb4e413.tar.bz2 linux-09f99a3dfadce47ba868cee318d55d249eb4e413.zip |
target: tcm_loop: Use seq_puts() in tcm_loop_show_info()
The script "checkpatch.pl" pointed information out like the following.
WARNING: Prefer seq_puts to seq_printf
Thus fix the affected source code place.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
-rw-r--r-- | drivers/target/loopback/tcm_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index ec01070bbb40..9cd4ffe76c07 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c @@ -64,7 +64,7 @@ static void tcm_loop_release_cmd(struct se_cmd *se_cmd) static int tcm_loop_show_info(struct seq_file *m, struct Scsi_Host *host) { - seq_printf(m, "tcm_loop_proc_info()\n"); + seq_puts(m, "tcm_loop_proc_info()\n"); return 0; } |