diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-12-11 05:01:57 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2018-01-12 18:07:26 -0500 |
commit | 09f99a3dfadce47ba868cee318d55d249eb4e413 (patch) | |
tree | 4a5eb12904a518c6e6d56dc24fbeed962d7fd840 | |
parent | 2dfe3511ce8c15f25c121f30353dcf02b074ef15 (diff) |
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) | |||
64 | 64 | ||
65 | static int tcm_loop_show_info(struct seq_file *m, struct Scsi_Host *host) | 65 | static int tcm_loop_show_info(struct seq_file *m, struct Scsi_Host *host) |
66 | { | 66 | { |
67 | seq_printf(m, "tcm_loop_proc_info()\n"); | 67 | seq_puts(m, "tcm_loop_proc_info()\n"); |
68 | return 0; | 68 | return 0; |
69 | } | 69 | } |
70 | 70 | ||