Content-Type: multipart/mixed; boundary="===============5491780930967884457==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] drm/i915: slab_requests can be static Date: Sun, 25 Jul 2021 05:58:16 +0800 Message-ID: <20210724215816.GA25189@4ba55c1fc0c2> In-Reply-To: <20210723192934.1004427-7-daniel.vetter@ffwll.ch> List-Id: --===============5491780930967884457== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/gpu/drm/i915/i915_request.c:54:19: warning: symbol 'slab_requests' = was not declared. Should it be static? drivers/gpu/drm/i915/i915_request.c:55:19: warning: symbol 'slab_execute_cb= s' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- i915_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i91= 5_request.c index 69152369ea000..3dd759be3c289 100644 --- a/drivers/gpu/drm/i915/i915_request.c +++ b/drivers/gpu/drm/i915/i915_request.c @@ -51,8 +51,8 @@ struct execute_cb { struct i915_request *signal; }; = -struct kmem_cache *slab_requests; -struct kmem_cache *slab_execute_cbs; +static struct kmem_cache *slab_requests; +static struct kmem_cache *slab_execute_cbs; = static const char *i915_fence_get_driver_name(struct dma_fence *fence) { --===============5491780930967884457==--