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-13 00:07:26 +0100 |
commit | 09f99a3dfadce47ba868cee318d55d249eb4e413 (patch) | |
tree | 4a5eb12904a518c6e6d56dc24fbeed962d7fd840 /drivers/target | |
parent | target: tcm_loop: Delete an unnecessary return statement in tcm_loop_submissi... (diff) | |
download | linux-09f99a3dfadce47ba868cee318d55d249eb4e413.tar.xz 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>
Diffstat (limited to 'drivers/target')
-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; } |