Content-Type: multipart/mixed; boundary="===============1115090170339046290==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] drm/i915/gt: get_ctx_reg_count() can be static Date: Tue, 31 Aug 2021 12:03:51 +0800 Message-ID: <20210831040351.GA32319@c992b1c84ab4> In-Reply-To: <20210830162240.3891502-3-ayaz.siddiqui@intel.com> List-Id: --===============1115090170339046290== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/gpu/drm/i915/gt/intel_mocs.c:496:5: warning: symbol 'get_ctx_reg_co= unt' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- intel_mocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt/intel_mocs.c b/drivers/gpu/drm/i915/gt= /intel_mocs.c index c52640523c218..728d0340cc622 100644 --- a/drivers/gpu/drm/i915/gt/intel_mocs.c +++ b/drivers/gpu/drm/i915/gt/intel_mocs.c @@ -493,7 +493,7 @@ static unsigned int get_mocs_settings(const struct drm_= i915_private *i915, return flags; } = -int get_ctx_reg_count(const struct drm_i915_aux_table *aux) +static int get_ctx_reg_count(const struct drm_i915_aux_table *aux) { int count =3D 0; =20 --===============1115090170339046290==--