Skip to contentSkip to conversation

drm/tests: helpers: Fix compile wrarning

PATCH In review Yu-Chun Lin 3 participants 4 messages Jan 3, 2025

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

PATCH 1/1 drm/tests: helpers: Fix compile wrarning

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

---
 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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 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

Reviewed where?

Quoted 6 lines
---
 drivers/gpu/drm/tests/drm_kunit_helpers.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
#2 lore raw

Hi Dmitry,

Quoted 4 lines · Dmitry Baryshkov
Quoted 3 lines · Yu-Chun Lin

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

Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line

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

Reviewed where?

Yu-Chun is a newcomer looking to contribute to Linux and asked for my help. As suggested in the last section of [1], she asked me to review her patch privately before sending it to the public mailing list and include my Reviewed-by tag. This improves patch quality and reduces the maintainer's workload by minimizing potential issues.

Although I'm not a DRM developer, I have been contributing to Linux for some time and wanted to provide support.

[1]: Documentation/process/researcher-guidelines.rst

Quoted 9 lines
Quoted 6 lines
---
 drivers/gpu/drm/tests/drm_kunit_helpers.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Thanks for your review!

Regards,
Kuan-Wei

#3 lore raw
Quoted 13 lines · Kuan-Wei Chiu

Hi Dmitry,

Quoted 10 lines · Dmitry Baryshkov
Quoted 8 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

Quoted 7 lines
Quoted 2 lines

Reviewed where?

Yu-Chun is a newcomer looking to contribute to Linux and asked for my help. As suggested in the last section of [1], she asked me to review her patch privately before sending it to the public mailing list and include my Reviewed-by tag. This improves patch quality and reduces the maintainer's workload by minimizing potential issues.

Good, thanks for the explanation. It's perfectly fine, just wanted to be sure that this is what actually happened.

Quoted 19 lines

Although I'm not a DRM developer, I have been contributing to Linux for some time and wanted to provide support.

[1]: Documentation/process/researcher-guidelines.rst

Quoted 9 lines
Quoted 6 lines
---
 drivers/gpu/drm/tests/drm_kunit_helpers.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Thanks for your review!

Regards,
Kuan-Wei

Signature · 2 lines
With best wishes
Dmitry