From patchwork Fri Apr 13 06:03:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10339551 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 B139A600D0 for ; Fri, 13 Apr 2018 06:04:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 772812869F for ; Fri, 13 Apr 2018 06:04:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67DC9286A3; Fri, 13 Apr 2018 06:04:40 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EE47B2869F for ; Fri, 13 Apr 2018 06:04:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=go1RG56t4DdLQ/M1QSVNIBCGHBkrs3J6TXsTTEl74ZI=; b=KI5gICV9L4Kqnk i10SIvi0O07yLOluhag5f7MQ+9hziNt7O5s7/RZBpCt6yCFFy3eDtFrjpAqwPFCpKxSFJSnDraA26 pif7Bc+RNNieMgnYuHduX0+2rm1aRZqPpv3AIp+fJTiHeePOTnvXeW538PI3g+IjY/W25OqtIcqyl QPZX5doCrpz8voFgSnUVU0lz3nSo9nmF11Q72EmN2CSxrKRNZHUuBjgfK5g09pWgTgTQnzcmDFWT/ E4KUpWQIK5ixD04188goTlb9mR/2wSryGivXdJuk3z/YhjjTocWwYgp+g1O8npPRu6M4OF2dtyZbI cTVD/T1Q/6wimlm2uFQg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f6rp4-0004YJ-QD; Fri, 13 Apr 2018 06:04:34 +0000 Received: from mga06.intel.com ([134.134.136.31]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f6rp0-0004WJ-GN for linux-arm-kernel@lists.infradead.org; Fri, 13 Apr 2018 06:04:32 +0000 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Apr 2018 23:04:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,444,1517904000"; d="scan'208";a="33957039" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga006.jf.intel.com with ESMTP; 12 Apr 2018 23:04:14 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1f6roj-000DQg-M1; Fri, 13 Apr 2018 14:04:13 +0800 Date: Fri, 13 Apr 2018 14:03:59 +0800 From: kbuild test robot To: Icenowy Zheng Subject: [RFC PATCH] net: stmmac: dwmac-sun8i: single_reg_field can be static Message-ID: <20180413060359.GA134752@lkp-hsx03> References: <20180411141641.14675-4-icenowy@aosc.io> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180411141641.14675-4-icenowy@aosc.io> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180412_230430_597875_CC149415 X-CRM114-Status: GOOD ( 22.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Maxime Ripard , netdev@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Corentin Labbe , kbuild-all@01.org, Giuseppe Cavallaro , linux-arm-kernel@lists.infradead.org, Icenowy Zheng Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 529123418105 ("net: stmmac: dwmac-sun8i: Allow getting syscon regmap from device") Signed-off-by: Fengguang Wu --- dwmac-sun8i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c index b61210c..842315a 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c @@ -86,7 +86,7 @@ const struct reg_field old_syscon_reg_field = { }; /* Specially exported regmap which contains only EMAC register */ -const struct reg_field single_reg_field = { +static const struct reg_field single_reg_field = { .reg = 0, .lsb = 0, .msb = 31,