From patchwork Mon Dec 11 10:48:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10104739 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 73919602D8 for ; Mon, 11 Dec 2017 10:48:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D0AB28EAD for ; Mon, 11 Dec 2017 10:48:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 70ABF2953E; Mon, 11 Dec 2017 10:48:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29C0F28EAD for ; Mon, 11 Dec 2017 10:48:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752650AbdLKKsg (ORCPT ); Mon, 11 Dec 2017 05:48:36 -0500 Received: from mout.web.de ([217.72.192.78]:61802 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752453AbdLKKse (ORCPT ); Mon, 11 Dec 2017 05:48:34 -0500 Received: from [192.168.1.3] ([92.227.98.61]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MS290-1eUIgp475u-00TD1i; Mon, 11 Dec 2017 11:48:30 +0100 Subject: [PATCH 6/6] target: tcm_loop: Use seq_puts() in tcm_loop_show_info() From: SF Markus Elfring To: target-devel@vger.kernel.org, linux-scsi@vger.kernel.org, Bart Van Assche , "Nicholas A. Bellinger" Cc: LKML , kernel-janitors@vger.kernel.org References: <42f13f0c-ae1d-ec1e-fd9d-62dd15aeba8c@users.sourceforge.net> Message-ID: <0ea85e80-f7a7-eeff-18c2-206281b74ea5@users.sourceforge.net> Date: Mon, 11 Dec 2017 11:48:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <42f13f0c-ae1d-ec1e-fd9d-62dd15aeba8c@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:QmWktoGodf8BfO/8JqVXi7r2IUIzNB8FEQQ8wDi2VP5D9objAV/ hEwQ28Z8CEIUoev50MKIFuUcRlTweMRTkReKzeBzP6AodkG7V3ae6FqTgGiLRiWDoVW76bq vBRhCEpTLTNW9wkU3bzw/GnCqqFnkptjmc39kyCTGjb7cIi3kvEc5+YoL42q//22S3TtTmy yVVE9TgSdLNiLWiCitFVw== X-UI-Out-Filterresults: notjunk:1; V01:K0:Nbt7QXxPgEI=:2VOHo5p+rChUoBFHqG7dRP xLmoavzl7u32/eJDHARzrnpY9/IB2YCegx2sdmmmxFlWdYLY58eKnPtwO6YHoWLeTiupmtDsR 5c9vZtQfkf8yijuEJCPOVuM0m+LA0Wu3WxMEtgPg2avww7qcaHTIY3WfJhDNRdPj0XgM2TNu9 lXtlCTCzx6D9ZE2A3V3HUybmv5jeLAJzNciDQJ6P0KtSIru5G214Tw4nCsY574JigOvXAx+RZ 42kfLsohgqdqSN9cszwQ4giJLQAo8dtiWl5I3m1SGGJgupkXRHXgdd1i8Is7ig2KoX+9/Zo9U EjkfH2pr2/9ZRav39T+eebxB0Vim3dbuOMSuO6bu0itUpm1mzWJIVlzSrqp4z79bC/+aO55o0 UdPhucCgfgu0WHLx5kJ7lDTt0i4FBJaTXONKsZOSNkOOP8x4uCjCR1j/GYYcQj9vXcTuxxZSS dLojIk+ju3LCXyd9KWdOpsXhZqMfwU1af0OilRRyzf8WCXpyU4v5aNrwKA3fN2jlAMN4IGacF 2tgT2gTstwKi6bE9lbghNJSaZSeYPdSlTW7NKFF2wr2K2bf3KLYwm3MCaRtUmPXNoBmB9u/UT OM3PVr56BLt+ljlAXKYLKG9ii+hS1JiapnQiemgN6sKMj2bQzCnKJKuOi3l/s+na6aueSgKEv YeOcEtCF2Nzh3M22/NpDt8/EN+XrtbfCQb53teIIMoPNsekVgeIeU4b3uxlDmrUBH0oLDlIcs rYYeT3/zp/UHv2pVWyvNBfdNoDFv84lsuSpMrLgNTSD8oJSvYqmtQt4QKJ9OwrPJorEBPRma6 kglmePjMZFoCEexmJ03v3vMFO/K39lYNDMLXuMIpEVarFXIOJM= Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Mon, 11 Dec 2017 11:01:57 +0100 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 --- 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; }