From patchwork Thu Apr 20 08:30:46 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: 9689891 X-Patchwork-Delegate: sboyd@codeaurora.org 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 87335600C8 for ; Thu, 20 Apr 2017 08:31:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78911223B2 for ; Thu, 20 Apr 2017 08:31:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D72228459; Thu, 20 Apr 2017 08:31:12 +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=ham 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 1D2CB223B2 for ; Thu, 20 Apr 2017 08:31:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S942477AbdDTIaz (ORCPT ); Thu, 20 Apr 2017 04:30:55 -0400 Received: from mout.web.de ([212.227.15.4]:62014 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942398AbdDTIax (ORCPT ); Thu, 20 Apr 2017 04:30:53 -0400 Received: from [192.168.1.2] ([77.182.247.81]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M5fxo-1c3mdL1QEK-00xYe9; Thu, 20 Apr 2017 10:30:47 +0200 Subject: [PATCH 7/8] clk: nomadik: Use seq_puts() in nomadik_src_clk_show() From: SF Markus Elfring To: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Cc: LKML , kernel-janitors@vger.kernel.org References: <94b24eaa-c5fb-80ea-441a-883989d14ef5@users.sourceforge.net> Message-ID: Date: Thu, 20 Apr 2017 10:30:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <94b24eaa-c5fb-80ea-441a-883989d14ef5@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:6dF7NuBQsgMmCxJaKtFKmG7lOcFohkTymCd3Rfdu86IYSuimX6+ /Yc3Dtch98HrZqwli51UEemB+MsbVG/3VEgSWPzTKghTXpW+3V0yNyFNlpeAr9OQLcsqcKv AqEwyrH50PkoewduJcdM8H0A/RNQdgi6zuZDUEQgv2bfuQyYUhLvQNWtoJ5T8gVwuQYCrWw hkFGAD0he0rVI3eNL5Stw== X-UI-Out-Filterresults: notjunk:1; V01:K0:My7Lmqx+9z8=:nbnOZO707YN/SKJ5woWKiA ju/z8+XN+zey9FED4WxYv7TtRnYmJ00o1ZwfEmHZyATIreCXIoYXO8eSYZfuWGWKb8X/LMgBs shfs2yUgXHyFBs2MG36RuoiA00h2iOQF1VSiJLfxphrVGqKmkFrMkFcBKjVdfERwY6JjWXpG3 piGFMTTL3zz3TKkoUBT/DkEkehEeDpxDFHDyBSO2XyGIBxs0wu/C0VnZBRc27whKKdGurgEG8 KXD/n+/u4xcngL3/ySwg5Qqdn5n3ei5kHfLXVzXE/7YN5CoZIVWfJw3m3M2/L1S0iAqCy8eV/ xwDquYPqCa+7Hoqt4Z6l6b2NGG6zy1236CcoOmxU8vBfntMRKEJ5Pmm7QcWc054BoYH0QmGSF 5xd3Brc/AyJGd0YOJSMXJ8H3YMVZ06NryJ9mt8CvCZcSLiEgPPPiQg9vIk3G2R9yL1iepGJbC 4iOw5JkHvg0+TWoU/rp1kRkZN6jIlL1yskOAIvN56cmIU8uxtRlSDNTrqS8jDCxq470FYejR1 s2sHXqZmyAqm9CuuQJAT653lsq4W0R2losrf7tk7ZLnMl8QtDaAnreSAGq170NEMdbfbmYA7r Syev/aix6ns4KhqXjPK2QeQys8cQTNacuk6T0miLmXTJcsll9g+Sn1aGgCE7Yhg+Y3qWyy5F+ 1pQKGJKzhR6cG2f9p5guwOnZgJW3Wb/IG37jNbN0tfVQymqDAmJfnV7nyHZmxh2vZ3aXtueHM O0ZEtXjitUVP7aFsWLDSDYJTmWzqC1lvgVEriKEBkOkcNfXilMV5CPkmD8LyNMdHN//jy/0i8 vvY9dTY Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Thu, 20 Apr 2017 09:45:04 +0200 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/clk/clk-nomadik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c index 71677eb12565..8d57ab8d6ed8 100644 --- a/drivers/clk/clk-nomadik.c +++ b/drivers/clk/clk-nomadik.c @@ -467,7 +467,7 @@ static int nomadik_src_clk_show(struct seq_file *s, void *what) u32 src_pckensr0 = readl(src_base + SRC_PCKENSR0); u32 src_pckensr1 = readl(src_base + SRC_PCKENSR1); - seq_printf(s, "Clock: Boot: Now: Request: ASKED:\n"); + seq_puts(s, "Clock: Boot: Now: Request: ASKED:\n"); for (i = 0; i < ARRAY_SIZE(src_clk_names); i++) { u32 pcksrb = (i < 0x20) ? src_pcksr0_boot : src_pcksr1_boot; u32 pcksr = (i < 0x20) ? src_pcksr0 : src_pcksr1;