From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51DF4C54FD4 for ; Wed, 25 Mar 2020 02:33:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 261E220740 for ; Wed, 25 Mar 2020 02:33:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=flygoat.com header.i=jiaxun.yang@flygoat.com header.b="MGBDxLNR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727450AbgCYCdn (ORCPT ); Tue, 24 Mar 2020 22:33:43 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17843 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727395AbgCYCdm (ORCPT ); Tue, 24 Mar 2020 22:33:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1585103479; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=From:To:Cc:Message-ID:Subject:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=yyST9a4xds2OxHP7d839ZExH6zCAlPz7AHq/7HnkO+0=; b=MGBDxLNRcnw+6qJTvx05eGMOstYRHvSbOhuEdL7taDXptxvfLF8rxsPHnav4P5/Q SBBaP5Qom4Rj2JDEN/p7/3X20BPAT9msWTkvCAPl981eGaAwf4QKTXyCMyiHxBw0Znr fHKyc1f+uskxwMln9lWHOMzalLTXvL57vAlH9D2s= Received: from localhost.localdomain (39.155.141.144 [39.155.141.144]) by mx.zoho.com.cn with SMTPS id 1585103477959328.4875849949635; Wed, 25 Mar 2020 10:31:17 +0800 (CST) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: Tiezhu Yang , Thomas Bogendoerfer , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , Jonathan Corbet , Paul Cercueil , Huacai Chen , Jiaxun Yang , John Crispin , Matthias Brugger , Jean Delvare , "David S. Miller" , Mauro Carvalho Chehab , Jonathan Cameron , Greg Kroah-Hartman , Andy Shevchenko , "H. Nikolaus Schaller" , Andi Kleen , "Eric W. Biederman" , Miquel Raynal , Krzysztof Kozlowski , Yinglu Yang , Allison Randal , Manuel Lauss , Bartlomiej Zolnierkiewicz , Paul Burton , Serge Semin , Matt Redfearn , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-ide@vger.kernel.org Message-ID: <20200325022916.106641-3-jiaxun.yang@flygoat.com> Subject: [PATCH v7 01/12] MIPS: Loongson: Do not initialise statics to 0 Date: Wed, 25 Mar 2020 10:28:18 +0800 X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200325022916.106641-1-jiaxun.yang@flygoat.com> References: <20200325022916.106641-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoCNMailClient: External Content-Type: text/plain; charset=utf8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tiezhu Yang Fix the following checkpatch error: ERROR: do not initialise statics to 0 #125: FILE: loongson64/numa.c:125: +=09static unsigned long num_physpages =3D 0; Signed-off-by: Tiezhu Yang Signed-off-by: Thomas Bogendoerfer --- arch/mips/loongson64/numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/loongson64/numa.c b/arch/mips/loongson64/numa.c index e5b40c5e3296..1ae072df4831 100644 --- a/arch/mips/loongson64/numa.c +++ b/arch/mips/loongson64/numa.c @@ -122,7 +122,7 @@ static unsigned long nid_to_addroffset(unsigned int nid= ) static void __init szmem(unsigned int node) { =09u32 i, mem_type; -=09static unsigned long num_physpages =3D 0; +=09static unsigned long num_physpages; =09u64 node_id, node_psize, start_pfn, end_pfn, mem_start, mem_size; =20 =09/* Parse memory information and activate */ --=20 2.26.0.rc2