Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2813477ybk; Tue, 12 May 2020 08:44:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnLmq7us8vs+K7DAyWe5DV4bTiLuCMnHukUaFR7LziyFAe6qtbFISNa0Gj4J3jbmuX3V/D X-Received: by 2002:a05:6402:1a21:: with SMTP id be1mr783532edb.211.1589298246094; Tue, 12 May 2020 08:44:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589298246; cv=none; d=google.com; s=arc-20160816; b=Zb7T5GOvRBsxynkEG1RPcLIMyDhC4jr8Fjld6SHyYix6z4FUW7uOeG5tE+lN7C2ztY 1PijVas7V9OVPN6a8+0xZQ8zL5wkgJljYo5Q3968+cOvqtQXBOw9yI9hd6w0Mo+IZm9P eCtoMUFAqikGaNsIGwBtgYYaZWalHDCmjre27nwC39IJAfPQkm6neFqsdYEVBgAusfat QaO7YN9WeZf7QLrkvGhcyngqBnkZZ1UizutAGGft6RAbJlJ0ukIfHwR3p3u3fAzDT/Sb OgRfGpl9qsbNG3QzDlwFM5uEvetF2JNFJ9DtlS7p/YWhI2s7unLz7tHVSFIc4AAYJT8R Q6EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=2SJRBdDIQYXRodlLEEBgtBX9FruK/zcqEA7ppav0kOg=; b=HFyb8+pWyg18zBHbjP8igRbBkvLn6hfXcsi/BWg17OjWhzXy2VUHpbZwcQKlCfQsi/ 9QwMcPAEJV+lIjlIG9PHtD6vv2TS/6Ss7jAycBmGJ917Vh3a9CiK4xEk2B272B3k3gJP 1pGtARofrge5OEZPIrh833ldpBV5wVOSyc7Mvk61VdZydjeIvJ/ixzDkz5UEbZQGU8U1 uYsaUmSc1QNW2N/oVxv8Bh4mFVX6u4Y09bCIuG24DUllkpbVt0pKUeJWoGQ3vqJZ+Lxu DPr5US4jPyag9AwqVyI8kMOnyHMJRQcXOhz5J9AfcDX9vzc9gvKN3F8AKZkAlXN3WKf+ nIWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si5211924edr.32.2020.05.12.08.43.42; Tue, 12 May 2020 08:44:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727825AbgELPkG (ORCPT + 99 others); Tue, 12 May 2020 11:40:06 -0400 Received: from muru.com ([72.249.23.125]:54076 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbgELPkF (ORCPT ); Tue, 12 May 2020 11:40:05 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 4B5378047; Tue, 12 May 2020 15:40:54 +0000 (UTC) Date: Tue, 12 May 2020 08:40:01 -0700 From: Tony Lindgren To: Samuel Zou Cc: khilman@kernel.org, linux@armlinux.org.uk, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] ARM: OMAP2+: pm33xx-core: Make am43xx_get_rtc_base_addr static Message-ID: <20200512154001.GK37466@atomide.com> References: <1589251271-106359-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1589251271-106359-1-git-send-email-zou_wei@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Samuel Zou [200511 19:36]: > Fix the following sparse warning: > > arch/arm/mach-omap2/pm33xx-core.c:270:14: warning: symbol 'am43xx_get_rtc_base_addr' was not declared. > > The am43xx_get_rtc_base_addr has only call site within pm33xx-core.c > It should be static > > Fixes: 8c5a916f4c88 ("ARM: OMAP2+: sleep33/43xx: Add RTC-Mode support") > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou Applying into omap-for-v5.8/soc thanks. Tony