Content-Type: multipart/mixed; boundary="===============1643708946349662293==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] drm/i915: slab_luts can be static Date: Sat, 24 Jul 2021 22:50:51 +0800 Message-ID: <20210724145051.GA66050@4ba55c1fc0c2> In-Reply-To: <20210723192934.1004427-5-daniel.vetter@ffwll.ch> List-Id: --===============1643708946349662293== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/gpu/drm/i915/gem/i915_gem_context.c:87:19: warning: symbol 'slab_lu= ts' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- i915_gem_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_context.c b/drivers/gpu/drm/= i915/gem/i915_gem_context.c index c17c28af1e574..087e1ede6c43f 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_context.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_context.c @@ -84,7 +84,7 @@ = #define ALL_L3_SLICES(dev) (1 << NUM_L3_SLICES(dev)) - 1 = -struct kmem_cache *slab_luts; +static struct kmem_cache *slab_luts; = struct i915_lut_handle *i915_lut_handle_alloc(void) { --===============1643708946349662293==--