Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp177521ybb; Tue, 24 Mar 2020 19:34:22 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsAem36QcH9B1EoVKLzu+467tqiWzzu/E7BxyjeIVZDQLzd4fTnxcZ+/4RtMzSWwesA2wnl X-Received: by 2002:a9d:7696:: with SMTP id j22mr933545otl.188.1585103661863; Tue, 24 Mar 2020 19:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585103661; cv=none; d=google.com; s=arc-20160816; b=qLqAQ0W9mniM0XhHBW/uOfa3M+/sOroMOwEEDMLlFM19ghzCY4/phYjLKi8PM1mONA uWmjEaaLLJwcSFVIGleFpPCuGHeWkrX/nKF4aekWllz+4vMTKOXNVDt5e0gEraBWGNTT R+LxlCPFl14xyQ03GXhFdcIm7MO3hDzNfon/fe6WOUUY0YEDmbjdWXXetUUI6Cec6ipY ztIG06sEPTwjJAMMj9MelYp1BmE+w6jEy6IqAPsNmwim6lsuyP8nsv4fvKejGRpUknAa Re64rwzFY+h/JZqiElviWJTF4UpeZ931ym9N7MLRQ0+fJN4r9OBbkcmd/z6/DeVPbTbm 6tkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:message-id:cc:to:from :dkim-signature; bh=yyST9a4xds2OxHP7d839ZExH6zCAlPz7AHq/7HnkO+0=; b=StP+ycZupLKQ1PZ1EPVaVD8ChvoamrmUtORdOvlGyuQksgOIUdh9bm5mffV9ZDnnzq CMXRZ/n+SyjCnQMhs+B571K6YQf1TIF4RP3MdX0m8X7mvAoAEBooMoOpQgycD/TqqriE eIKzfUE/tNgC2oFUE1hyBBapd9Ua0tCb/UGpIxDfaUX8NMm0SzgFk/d2bh37RHDAKakB ZYyLBW+tPpCnW8YhnTzdkAcCctHC1nnVomvRfYMzyQInjLceGJouD6lHAqCb6yrW7AqI 9OkQ99CHduZ01xwMeSKt3Hjx4SIyTY5b6/l50lu5DJQCYpboZ/XimMXofBOmVrkUsafM tjAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=MGBDxLNR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 23si9203266oir.119.2020.03.24.19.34.09; Tue, 24 Mar 2020 19:34:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=MGBDxLNR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727441AbgCYCdn (ORCPT + 99 others); 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