From patchwork Tue Jan 28 01:36:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3544821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6693F9F2E9 for ; Tue, 28 Jan 2014 01:37:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6D8132011E for ; Tue, 28 Jan 2014 01:37:20 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6DD89200F0 for ; Tue, 28 Jan 2014 01:37:19 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W7xbg-0008JB-OS; Tue, 28 Jan 2014 01:36:52 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W7xbY-0007uu-FN; Tue, 28 Jan 2014 01:36:44 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W7xbW-0007tk-4L for linux-arm-kernel@lists.infradead.org; Tue, 28 Jan 2014 01:36:43 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N0300JEW8GIUQ00@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 28 Jan 2014 10:36:18 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id C0.12.12635.29907E25; Tue, 28 Jan 2014 10:36:18 +0900 (KST) X-AuditID: cbfee68d-b7fcd6d00000315b-98-52e7099250ba Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6E.D6.29263.29907E25; Tue, 28 Jan 2014 10:36:18 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N03001H98GIYJ00@mmp2.samsung.com>; Tue, 28 Jan 2014 10:36:18 +0900 (KST) From: Jingoo Han To: 'Catalin Marinas' References: <001d01cf1bc9$452569d0$cf703d70$%han@samsung.com> In-reply-to: <001d01cf1bc9$452569d0$cf703d70$%han@samsung.com> Subject: [PATCH 2/2] arm64: kernel: use seq_puts() instead of seq_printf() Date: Tue, 28 Jan 2014 10:36:18 +0900 Message-id: <001f01cf1bc9$57767070$06635150$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac8byUTp4bx8UjVSRxGEUXrYHSQfwAAAAYVg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGIsWRmVeSWpSXmKPExsVy+t8zY91JnM+DDI5dMrV4v6yH0eLywkus FpseX2O1ePnxBIsDi8eaeWsYPTYvqffo27KKMYA5issmJTUnsyy1SN8ugSvjVFMLc8FH9ooN s6+xNzCeYeti5OSQEDCROHLjLDOELSZx4d56sLiQwDJGidZ/2TA1tw8ehYpPZ5T4N92yi5EL yP7FKHHx/koWkASbgJrEly+H2UFsEQF9ifenFwPFOTiYBYolXvabQPTaSvx98gdsF6eAncTJ FafBWoUFvCS2nd/KCGKzCKhK7Pw/EWwML1D9xknTWCBsQYkfk++B2cwCWhLrdx5ngrDlJTav ecsMskpCQF3i0V9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4HpqC8knhDYxMzI0sj MwsjE3Nz0oSVxHkPtFoHCgmkJ5akZqemFqQWwWxh4uCUamBkjOYU/B/resTJsEKsc3rHlRvi rVKfXI/2KmxX8f8Wecto9g21O755pWEBvnudH3C1+fwwmJkz8dWqdb8Y1+Uz6zSuORO9JqZl d7i1YauX7d1765VTJ6fZhj1YGHCr/2DA3ToR+5g1LM/MFJddmB353HO12m2e/+wf7B8dkF11 9dumn4UXtVOVWIozEg21mIuKEwGBIXRoNwMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140127_203642_400326_2F79CC27 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.4 (-------) Cc: 'Jingoo Han' , 'Will Deacon' , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP For a constant format without additional arguments, use seq_puts() instead of seq_printf(). Also, it fixes the following checkpatch warning. WARNING: Prefer seq_puts to seq_printf Signed-off-by: Jingoo Han --- arch/arm64/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index c8e9eff..4507691 100644 --- a/arch/arm64/kernel/setup.c +++ b/arch/arm64/kernel/setup.c @@ -416,7 +416,7 @@ static int c_show(struct seq_file *m, void *v) seq_printf(m, "%s ", hwcap_str[i]); seq_printf(m, "\nCPU implementer\t: 0x%02x\n", read_cpuid_id() >> 24); - seq_printf(m, "CPU architecture: AArch64\n"); + seq_puts(m, "CPU architecture: AArch64\n"); seq_printf(m, "CPU variant\t: 0x%x\n", (read_cpuid_id() >> 20) & 15); seq_printf(m, "CPU part\t: 0x%03x\n", (read_cpuid_id() >> 4) & 0xfff); seq_printf(m, "CPU revision\t: %d\n", read_cpuid_id() & 15);