Content-Type: multipart/mixed; boundary="===============3046878407564476713==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] drm/i915: slab_vmas can be static Date: Sun, 25 Jul 2021 12:04:08 +0800 Message-ID: <20210725040408.GA71254@4ba55c1fc0c2> In-Reply-To: <20210723192934.1004427-9-daniel.vetter@ffwll.ch> List-Id: --===============3046878407564476713== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/gpu/drm/i915/i915_vma.c:41:19: warning: symbol 'slab_vmas' was not = declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- i915_vma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_vma.c b/drivers/gpu/drm/i915/i915_vm= a.c index d094e2016b938..4b7fc4647e460 100644 --- a/drivers/gpu/drm/i915/i915_vma.c +++ b/drivers/gpu/drm/i915/i915_vma.c @@ -38,7 +38,7 @@ #include "i915_trace.h" #include "i915_vma.h" = -struct kmem_cache *slab_vmas; +static struct kmem_cache *slab_vmas; = struct i915_vma *i915_vma_alloc(void) { --===============3046878407564476713==--