Content-Type: multipart/mixed; boundary="===============3937055337379904161==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] drm/i915: prev_deps() can be static Date: Thu, 16 Dec 2021 19:06:32 +0800 Message-ID: <20211216110632.GA39683@7c79fadf3f6c> In-Reply-To: <20211215103611.777665-2-thomas.hellstrom@linux.intel.com> List-Id: --===============3937055337379904161== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c:634:5: warning: symbol 'prev_d= eps' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- i915_gem_ttm_move.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c b/drivers/gpu/drm= /i915/gem/i915_gem_ttm_move.c index 09463874ef24e7..e2f679be4e4517 100644 --- a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +++ b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c @@ -631,8 +631,8 @@ __i915_ttm_move(struct ttm_buffer_object *bo, return fence; } = -int prev_deps(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx, - struct i915_deps *deps) +static int prev_deps(struct ttm_buffer_object *bo, struct ttm_operation_ct= x *ctx, + struct i915_deps *deps) { int ret; =20 --===============3937055337379904161==--