Skip to contentSkip to conversation

drm/tests: helpers: Fix compiler warning

PATCH Applied Yu-Chun Lin 2 participants 2 messages Jan 4, 2025 – Jan 6, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/tests: helpers: Fix compiler warning

Delete one line break to make the format correct, resolving the following warning during a W=1 build:

Quoted 1 line
Quoted 1 line

drivers/gpu/drm/tests/drm_kunit_helpers.c:324: warning: bad line: for a KUnit test

---
v1 -> v2
Correct typos in the original commit message title.

 drivers/gpu/drm/tests/drm_kunit_helpers.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/tests/drm_kunit_helpers.c +1 -2
index 04a6b8cc62ac..3c0b7824c0be 100644
@@ -320,8 +320,7 @@ static void kunit_action_drm_mode_destroy(void *ptr)
 }
 
 /**
- * drm_kunit_display_mode_from_cea_vic() - return a mode for CEA VIC
-					   for a KUnit test
+ * drm_kunit_display_mode_from_cea_vic() - return a mode for CEA VIC for a KUnit test
  * @test: The test context object
  * @dev: DRM device
  * @video_code: CEA VIC of the mode
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 6 lines · Yu-Chun Lin

Delete one line break to make the format correct, resolving the following warning during a W=1 build:

Quoted 1 line
Quoted 1 line

drivers/gpu/drm/tests/drm_kunit_helpers.c:324: warning: bad line: for a KUnit test

Applied to misc/kernel.git (drm-misc-fixes).

Thanks!
Maxime