From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754468AbcIITWK (ORCPT ); Fri, 9 Sep 2016 15:22:10 -0400 Received: from anholt.net ([50.246.234.109]:37206 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752299AbcIITWJ (ORCPT ); Fri, 9 Sep 2016 15:22:09 -0400 From: Eric Anholt To: Baoyou Xie , airlied@linux.ie Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: Re: [PATCH] drm/vc4: mark vc4_bo_cache_purge() static In-Reply-To: <1473332600-25608-1-git-send-email-baoyou.xie@linaro.org> References: <1473332600-25608-1-git-send-email-baoyou.xie@linaro.org> User-Agent: Notmuch/0.22.1 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 09 Sep 2016 12:22:07 -0700 Message-ID: <87y430anfk.fsf@eliezer.anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Baoyou Xie writes: > We get 1 warning when building kernel with W=1: > drivers/gpu/drm/vc4/vc4_bo.c:147:6: warning: no previous prototype for 'vc4_bo_cache_purge' [-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 Applied to -fixes. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJX0wvfAAoJELXWKTbR/J7oV8IP/2Mn8/gNk5uOyj6JzBkgR51G dEnmGN6TJngUMW57nJ88KK1OtWRWoLnY1l7lHAtnVxBvJkPqkDmysm4Di1jJk1Uq ZJAQCX9BMbYHObiGYpeloKYCz+MIF/Gm1173d3D0pKkvzq3aVfreZ7gASVHvTysc lPZVGrCsUArWwt/9LGoJmGHsEHVjNB2p7oSuRIXpLB62oNwrJWfWyrYU6J4rktrf iBb98E2/j3m5v1m6afhpxiS2d7RJAcSlDsozSX0GDof2iwhnAeXEnzv685qSI+on Y52YVxCRW2EOd67XucpnpVC0Kq3VnQiMOw/eFdCpCQfApFvt1sAjaYGbqPiL7EVk upVLubJoLAoTs2AYwP9dV/7+hGG6Ukh9/SAILTpnlQAJp67yTmI+7ORQpLkBAT7y dhkwIyTu617HEax+1cT1gJOowA8wsUApBLO1BQeLtINb2e0l1rmtKZo9lRouWwJW 5SOuHTkEDy/LbE5mjyO1yoC+7DG5DedSODER16IBpDz1lOnhu91askwlVHFQ6TFR 9HL43g0WqslRDqVcHEz/wJWEe1gG7V4b2VOxdIfhSZEj5Zr6kFVgs08+5DE+IEEH eszKqKjdt9CWG12EaLWFcb/PNpb3/sz6EYvQHCwxGxTq9amf3BsALEvK9N9TGrPR p51AkKDsyOMyshpdFIdI =STjL -----END PGP SIGNATURE----- --=-=-=--