From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933197AbcIALex (ORCPT ); Thu, 1 Sep 2016 07:34:53 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33832 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754314AbcIALet (ORCPT ); Thu, 1 Sep 2016 07:34:49 -0400 Date: Thu, 1 Sep 2016 13:34:46 +0200 From: Thierry Reding To: Baoyou Xie Cc: kishon@ti.com, swarren@wwwdotorg.org, gnurou@gmail.com, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, arnd@arndb.de, xie.baoyou@zte.com.cn Subject: Re: [PATCH] phy: mark tegra_xusb_lane_lookup_function() static Message-ID: <20160901113446.GB18255@ulmo.ba.sec> References: <1472634319-11886-1-git-send-email-baoyou.xie@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pvezYHf7grwyp3Bc" Content-Disposition: inline In-Reply-To: <1472634319-11886-1-git-send-email-baoyou.xie@linaro.org> User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --pvezYHf7grwyp3Bc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 31, 2016 at 05:05:19PM +0800, Baoyou Xie wrote: > We get 1 warning when building kernel with W=3D1: > drivers/phy/tegra/xusb.c:104:5: warning: no previous prototype for 'tegra= _xusb_lane_lookup_function' [-Wmissing-prototypes] >=20 > 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'. >=20 > Signed-off-by: Baoyou Xie > --- > drivers/phy/tegra/xusb.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Thierry Reding --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAABCAAGBQJXyBJVAAoJEN0jrNd/PrOhWQ4P/iw+fv3FIwvaQus0ePZjDVtu qV6pG2GE1nKBU84sILCXUazU/xvRPFW2XwRgJhhVQrBJyq/6lY6OsNvgPi8jLikS RSkCWOsEpPSXeAY1r+ZApP6X45nktHi1M5Nf0oXb/O1FvYNpbGdzbPqusUEo/qTH k8F+ecejdjYfu3kuFn0hqzJiPz+D/OrilOId0y/Wi+E+jMC5Ez9rUXUKLmQILbU+ sBmwLQf89J8rWPYRTj+z6mCoZGG82UDcARl1RDOnBta/gvMqzyUqdaLyGkPWKUxl 3W4cPuiE/jQkymTLpKPe9Y6WCUsJmyqnbiugN65RCcWwEWHl1t/bGoGJFtknVOWt e5DcU1/aSIMd3bPwEEf+xBDRCIJ0eoquFXNBZNwWYbDl+rzdfwRNqR5JN5CIiwZM CAvIXqHVp80gZduzJHLBvTKBugViBDELqdh0246t29X0GtQlkl6+RbYQsgBfibKt U+gFZNLDpPCnH9KccVO7Vk9I0BsB1NRQiQinfFQwF+OgP5xfT3UirAlORecVdZGy PZAGEAs1vqqn3Uyk9o1K2ZumV+ERuUPNz+BTzaneJOwlu8pBf0l1Jo+NfPafax0B 8AjA2eFjl5ye6KOpP1SwB5iTuRtS9AQlpBb/+g+cP5PmRVoB6hETBZC8ZOo29sOz opUmAgQnqLrwMklmF2zA =qBgx -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc--