Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9192398rwp; Thu, 20 Jul 2023 00:34:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlF86SfxqSpUBbT8BNsRHfmjt7rS8UtgYXv6Yk6Ovyw6M81GaCs8fz27s8gT5cXgqyODOu9B X-Received: by 2002:a17:906:7a09:b0:994:5396:e32c with SMTP id d9-20020a1709067a0900b009945396e32cmr4534630ejo.3.1689838454478; Thu, 20 Jul 2023 00:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689838454; cv=none; d=google.com; s=arc-20160816; b=YPtdFA8rgZPT09aq/Y8rHs0NS60RQa1lQeX1r7UEaCZCxcttz8cfJr+Cd5UxfmNgsQ bSgzEyltVjfvAgRUe79oOxPgYX73vgnNN9vYaBxrh4LeR60EjN53Ae/ARzi8h2N7Oc2D JaEB2Bd88QIkqtLqS3u/HWNOESq35mnFnZLZ7srC4KqRGckvGX3sN7yFpDFXAz0vFCJ3 5zoVG2JUMX70X1aE5NMu390R0SiteO3tursV6r6fRQldRhbUeG6BCqJb5Rca1UuTkqoa wZF3kQTUIIGB2O6SDwRGduLAPbfB9gWRed4jggusJXuP/FjzQK/8oN+Q6/grebeY2SQm GXTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=m1Ws6Xe8Sr1PSh9lELVPNvWJUsfevpi+ZBpgD4/o5LM=; fh=H/3R4NuqO2kfNYKYN1UCSlqzDzD3xUsjFE02fA9pZn0=; b=UE0CvvplLS7cMJJn+xto5uSLaVWk5N42oieOGE9x7xHhdMsrqd5Mk4048+yOxIvqL7 34JRH6G/iHgktfjkKzuvmqrnh9np5XC2Ek0e8gPGdXquKPfW0NIXnj97NLrEPaB1PT9d lwOrLgQKH8u5ET8x8bj0WP5p5/ao8Xi/y4LfV9YZntSuZrRRsJpbJzC/JWSIg8CIx2c7 voj/fTsv7uqKfJ7v7qhTAu7zi1oJiIDTuFWpnXs4jrsWrId3cWuBpzb+/pUa+nAxWQNC nNTc9X4cY5UUf6CKeSZ/5HPO44KrR7Oqf8EqaRr/DvLlIGffthJdOMSLU9MOT8pvznxH YrFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b="E/YINLxV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o8-20020a170906288800b009945340230esi318062ejd.174.2023.07.20.00.33.50; Thu, 20 Jul 2023 00:34:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b="E/YINLxV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231415AbjGTHWJ (ORCPT + 99 others); Thu, 20 Jul 2023 03:22:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbjGTHWH (ORCPT ); Thu, 20 Jul 2023 03:22:07 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 795821998 for ; Thu, 20 Jul 2023 00:22:04 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R63zG32VFzBRDsQ for ; Thu, 20 Jul 2023 15:22:02 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689837722; x=1692429723; bh=v7iw69mxg3QBIitceoQwmpcV5rP 7d16JIacjEOzr9gM=; b=E/YINLxVeTo+Zy6P/B4BJv2wN1pCgt1xmH4R0ajLPun Y62vhHxpIF4zKsogrnOn+uhVUjnPn1NZW5jrqVGQNXVDjHqyUDFCuKyJ/Ul1Ig7k ts+8qjFy3mBcknjvJmpAznaG/sm7q65RhHTVAjFkZNpBrXoh4GgPc3TjFpQAZtR2 n/pgbJ6WPUJcCmALC64gKSgD16+f1AB967Rua1ILkqCGhs9SN0AyTmRkM3ONOVtV e3k/+GzEsaNO2X3fqk1bwRxYsmPHqXo8Ykd+s3kUFLMhcELVBvL0NsS99nKj7MSb GI4PHmRICtW0xc0XQ8DNhEoLxFDKhjEqH17FcDEEIng== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bTWmjkS6HhTI for ; Thu, 20 Jul 2023 15:22:02 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R63zG0M6jzBRDs1; Thu, 20 Jul 2023 15:22:01 +0800 (CST) MIME-Version: 1.0 Date: Thu, 20 Jul 2023 15:22:01 +0800 From: hanyu001@208suo.com To: mpe@ellerman.id.au, npiggin@gmail.com, windhl@126.com, robh@kernel.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] embedded6xx: holly: use seq_puts instead of seq_printf In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <2d238f3ebbd359d18eae523925d0c8bf@208suo.com> X-Sender: hanyu001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpatch WARNINGS: /platforms/embedded6xx/holly.c:199: WARNING: Prefer seq_puts to seq_printf /platforms/embedded6xx/holly.c:200: WARNING: Prefer seq_puts to seq_printf Signed-off-by: Yu Han --- arch/powerpc/platforms/embedded6xx/holly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/embedded6xx/holly.c b/arch/powerpc/platforms/embedded6xx/holly.c index 02ff260ae1ee..11820d0d22c4 100644 --- a/arch/powerpc/platforms/embedded6xx/holly.c +++ b/arch/powerpc/platforms/embedded6xx/holly.c @@ -196,8 +196,8 @@ static void __init holly_init_IRQ(void) static void holly_show_cpuinfo(struct seq_file *m) { - seq_printf(m, "vendor\t\t: IBM\n"); - seq_printf(m, "machine\t\t: PPC750 GX/CL\n"); + seq_puts(m, "vendor\t\t: IBM\n"); + seq_puts(m, "machine\t\t: PPC750 GX/CL\n"); } static void __noreturn holly_restart(char *cmd)