mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/i915/gt: Modify mismatched function name
@ 2022-12-13  9:51 Jiapeng Chong
  2022-12-13 10:47 ` [Intel-gfx] " Upadhyay, Tejas
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-12-13  9:51 UTC (permalink / raw)
  To: jani.nikula
  Cc: joonas.lahtinen, rodrigo.vivi, tvrtko.ursulin, airlied, daniel,
	intel-gfx, dri-devel, linux-kernel, Jiapeng Chong, Abaci Robot

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [Intel-gfx] [PATCH] drm/i915/gt: Modify mismatched function name
  2022-12-13  9:51 [PATCH] drm/i915/gt: Modify mismatched function name Jiapeng Chong
@ 2022-12-13 10:47 ` Upadhyay, Tejas
  0 siblings, 0 replies; 2+ messages in thread
From: Upadhyay, Tejas @ 2022-12-13 10:47 UTC (permalink / raw)
  To: Jiapeng Chong, jani.nikula
  Cc: intel-gfx, Abaci Robot, linux-kernel, dri-devel, daniel, Vivi,
	Rodrigo, airlied

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-13 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13  9:51 [PATCH] drm/i915/gt: Modify mismatched function name Jiapeng Chong
2022-12-13 10:47 ` [Intel-gfx] " Upadhyay, Tejas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®