target: tcm_loop: Use seq_puts() in tcm_loop_show_info()

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/09f99a3dfadce47ba868cee318d55d249eb4e413
Commit:     09f99a3dfadce47ba868cee318d55d249eb4e413
Parent:     2dfe3511ce8c15f25c121f30353dcf02b074ef15
Refname:    refs/heads/master
Author:     Markus Elfring <[email protected]>
AuthorDate: Mon Dec 11 11:01:57 2017 +0100
Committer:  Nicholas Bellinger <[email protected]>
CommitDate: Fri Jan 12 15:07:26 2018 -0800

    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 <[email protected]>
    Signed-off-by: Nicholas Bellinger <[email protected]>
---
 drivers/target/loopback/tcm_loop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 }
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.