Content-Type: multipart/mixed; boundary="===============6166147834451679834==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] drm/i915: slab_objects can be static Date: Sun, 25 Jul 2021 02:23:06 +0800 Message-ID: <20210724182306.GA48648@4ba55c1fc0c2> In-Reply-To: <20210723192934.1004427-6-daniel.vetter@ffwll.ch> List-Id: --===============6166147834451679834== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/gpu/drm/i915/gem/i915_gem_object.c:36:19: warning: symbol 'slab_obj= ects' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- i915_gem_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_object.c b/drivers/gpu/drm/i= 915/gem/i915_gem_object.c index 53156250d2833..48f136230396e 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_object.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_object.c @@ -33,7 +33,7 @@ #include "i915_memcpy.h" #include "i915_trace.h" = -struct kmem_cache *slab_objects; +static struct kmem_cache *slab_objects; = static const struct drm_gem_object_funcs i915_gem_object_funcs; =20 --===============6166147834451679834==--