Content-Type: multipart/mixed; boundary="===============2347424410193965597==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] drm/i915: slab_blocks can be static Date: Sat, 24 Jul 2021 15:38:23 +0800 Message-ID: <20210724073823.GA36834@4ba55c1fc0c2> In-Reply-To: <20210723192934.1004427-3-daniel.vetter@ffwll.ch> List-Id: --===============2347424410193965597== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/gpu/drm/i915/i915_buddy.c:13:19: warning: symbol 'slab_blocks' was = not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- i915_buddy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_buddy.c b/drivers/gpu/drm/i915/i915_= buddy.c index 045d00c43b4ca..7b274c51cac05 100644 --- a/drivers/gpu/drm/i915/i915_buddy.c +++ b/drivers/gpu/drm/i915/i915_buddy.c @@ -10,7 +10,7 @@ #include "i915_gem.h" #include "i915_utils.h" = -struct kmem_cache *slab_blocks; +static struct kmem_cache *slab_blocks; = static struct i915_buddy_block *i915_block_alloc(struct i915_buddy_mm *mm, struct i915_buddy_block *parent, --===============2347424410193965597==--