diff mbox series

drm/i915/gt: Modify mismatched function name

Message ID 20221213095145.1899-1-jiapeng.chong@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series drm/i915/gt: Modify mismatched function name | expand

Commit Message

Jiapeng Chong Dec. 13, 2022, 9:51 a.m. UTC
No functional modification involved.

drivers/gpu/drm/i915/gt/intel_engine_cs.c:1306: warning: expecting prototype for intel_engines_init_common(). Prototype was for engine_init_common() instead.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3442
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Upadhyay, Tejas Dec. 13, 2022, 10:47 a.m. UTC | #1
Indeed looks like miss. Thanks for the patch.

Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>

> -----Original Message-----
> From: Intel-gfx <intel-gfx-bounces@lists.freedesktop.org> On Behalf Of
> Jiapeng Chong
> Sent: Tuesday, December 13, 2022 3:22 PM
> To: jani.nikula@linux.intel.com
> Cc: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>; intel-
> gfx@lists.freedesktop.org; Abaci Robot <abaci@linux.alibaba.com>; linux-
> kernel@vger.kernel.org; dri-devel@lists.freedesktop.org; daniel@ffwll.ch;
> Vivi, Rodrigo <rodrigo.vivi@intel.com>; airlied@gmail.com
> Subject: [Intel-gfx] [PATCH] drm/i915/gt: Modify mismatched function name
> 
> No functional modification involved.
> 
> drivers/gpu/drm/i915/gt/intel_engine_cs.c:1306: warning: expecting
> prototype for intel_engines_init_common(). Prototype was for
> engine_init_common() instead.
> 
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3442
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
>  drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> index c33e0d72d670..dfcd3a91fbe7 100644
> --- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> +++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> @@ -1292,7 +1292,7 @@ create_kernel_context(struct intel_engine_cs
> *engine)  }
> 
>  /**
> - * intel_engines_init_common - initialize cengine state which might require
> hw access
> + * engine_init_common - initialize cengine state which might require hw
> + access
>   * @engine: Engine to initialize.
>   *
>   * Initializes @engine@ structure members shared between legacy and
> execlists
> --
> 2.20.1.7.g153144c
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
index c33e0d72d670..dfcd3a91fbe7 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
+++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
@@ -1292,7 +1292,7 @@  create_kernel_context(struct intel_engine_cs *engine)
 }
 
 /**
- * intel_engines_init_common - initialize cengine state which might require hw access
+ * engine_init_common - initialize cengine state which might require hw access
  * @engine: Engine to initialize.
  *
  * Initializes @engine@ structure members shared between legacy and execlists