[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160901113446.GB18255@ulmo.ba.sec>
Date: Thu, 1 Sep 2016 13:34:46 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: kishon@...com, swarren@...dotorg.org, gnurou@...il.com,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org,
arnd@...db.de, xie.baoyou@....com.cn
Subject: Re: [PATCH] phy: mark tegra_xusb_lane_lookup_function() static
On Wed, Aug 31, 2016 at 05:05:19PM +0800, Baoyou Xie wrote:
> We get 1 warning when building kernel with W=1:
> drivers/phy/tegra/xusb.c:104:5: warning: no previous prototype for 'tegra_xusb_lane_lookup_function' [-Wmissing-prototypes]
>
> In fact, this function is only used in the file in which it is
> declared and don't need a declaration, but can be made static.
> So this patch marks it 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
> ---
> drivers/phy/tegra/xusb.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists