linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] drivers/gpu/drm/i915/gt/intel_engine_cs.c: Repair typo in function name
       [not found] <cover.1625646947.git.zhaoxiao@uniontech.com>
@ 2021-07-07  8:47 ` zhaoxiao
  2021-07-07  8:47 ` [PATCH 2/2] drivers/gpu/drm/i915/display/intel_display_power.c: " zhaoxiao
  1 sibling, 0 replies; 2+ messages in thread
From: zhaoxiao @ 2021-07-07  8:47 UTC (permalink / raw)
  To: airlied, daniel, maarten.lankhorst, venkata.s.dhanalakota
  Cc: jani.nikula, joonas.lahtinen, rodrigo.vivi, chris,
	tvrtko.ursulin, daniele.ceraolospurio, matthew.brost,
	lucas.demarchi, intel-gfx, dri-devel, linux-kernel, zhaoxiao

Fixes the following W=1 kernel build warning(s):

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

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
---
 drivers/gpu/drm/i915/gt/intel_engine_cs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
index 7f03df236613..01b4dc041a72 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
+++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
@@ -868,7 +868,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
@@ -949,7 +949,7 @@ int intel_engines_init(struct intel_gt *gt)
 }
 
 /**
- * intel_engines_cleanup_common - cleans up the engine state created by
+ * intel_engine_cleanup_common - cleans up the engine state created by
  *                                the common initiailizers.
  * @engine: Engine to cleanup.
  *
-- 
2.20.1




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

* [PATCH 2/2] drivers/gpu/drm/i915/display/intel_display_power.c: Repair typo in function name
       [not found] <cover.1625646947.git.zhaoxiao@uniontech.com>
  2021-07-07  8:47 ` [PATCH 1/2] drivers/gpu/drm/i915/gt/intel_engine_cs.c: Repair typo in function name zhaoxiao
@ 2021-07-07  8:47 ` zhaoxiao
  1 sibling, 0 replies; 2+ messages in thread
From: zhaoxiao @ 2021-07-07  8:47 UTC (permalink / raw)
  To: airlied, daniel, maarten.lankhorst, venkata.s.dhanalakota
  Cc: jani.nikula, joonas.lahtinen, rodrigo.vivi, chris,
	tvrtko.ursulin, daniele.ceraolospurio, matthew.brost,
	lucas.demarchi, intel-gfx, dri-devel, linux-kernel, zhaoxiao

Fixes the following W=1 kernel build warning(s):

drivers/gpu/drm/i915/display/intel_display_power.c:2300: warning: expecting prototype for intel_display_power_put_async(). Prototype was for __intel_display_power_put_async() instead

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
---
 drivers/gpu/drm/i915/display/intel_display_power.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c
index 4298ae684d7d..c37e14f2df90 100644
--- a/drivers/gpu/drm/i915/display/intel_display_power.c
+++ b/drivers/gpu/drm/i915/display/intel_display_power.c
@@ -2285,7 +2285,7 @@ intel_display_power_put_async_work(struct work_struct *work)
 }
 
 /**
- * intel_display_power_put_async - release a power domain reference asynchronously
+ * __intel_display_power_put_async - release a power domain reference asynchronously
  * @i915: i915 device instance
  * @domain: power domain to reference
  * @wakeref: wakeref acquired for the reference that is being released
-- 
2.20.1




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

end of thread, other threads:[~2021-07-07  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cover.1625646947.git.zhaoxiao@uniontech.com>
2021-07-07  8:47 ` [PATCH 1/2] drivers/gpu/drm/i915/gt/intel_engine_cs.c: Repair typo in function name zhaoxiao
2021-07-07  8:47 ` [PATCH 2/2] drivers/gpu/drm/i915/display/intel_display_power.c: " zhaoxiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).