From: Herbert Xu Subject: Re: [PATCH] crypto: sun4i-ss: mark sun4i_hash() static Date: Thu, 22 Sep 2016 18:45:42 +0800 Message-ID: <20160922104542.GI5884@gondor.apana.org.au> References: <1474203164-14884-1-git-send-email-baoyou.xie@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: arnd@arndb.de, xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, wens@csie.org, clabbe.montjoie@gmail.com, linux-crypto@vger.kernel.org, maxime.ripard@free-electrons.com, davem@davemloft.net, linux-arm-kernel@lists.infradead.org To: Baoyou Xie Return-path: Content-Disposition: inline In-Reply-To: <1474203164-14884-1-git-send-email-baoyou.xie@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: linux-crypto.vger.kernel.org On Sun, Sep 18, 2016 at 08:52:44PM +0800, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/crypto/sunxi-ss/sun4i-ss-hash.c:168:5: warning: no previous prototype for 'sun4i_hash' [-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 Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt