Skip to contentSkip to conversation

drm/komeda: Fix typos in komeda_splitter_validate

PATCH In review Mihail Atanassov 2 participants 3 messages Sep 30, 2019 – Oct 21, 2019

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

PATCH v2 1/1 drm/komeda: Fix typos in komeda_splitter_validate

Fix both the string and the struct member being printed.

Changes since v1:
- Now with a bonus grammar fix, too.

Fixes 264b9436d23b ("drm/komeda: Enable writeback split support")
---
 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +2 -2
index 950235af1e79..2b624bfe1751 100644
@@ -564,8 +564,8 @@ komeda_splitter_validate(struct komeda_splitter *splitter,
 	}
 
 	if (!in_range(&splitter->vsize, dflow->in_h)) {
-		DRM_DEBUG_ATOMIC("split in_in: %d exceed the acceptable range.\n",
-				 dflow->in_w);
+		DRM_DEBUG_ATOMIC("split in_h: %d exceeds the acceptable range.\n",
+				 dflow->in_h);
 		return -EINVAL;
 	}
 
Signature · 6 lines
2.23.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 16 lines · Mihail Atanassov

Fix both the string and the struct member being printed.

Changes since v1:
- Now with a bonus grammar fix, too.

Fixes 264b9436d23b ("drm/komeda: Enable writeback split support")
---
 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +0 -0
index 950235af1e79..2b624bfe1751 100644

drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_splitter_validate(struct komeda_splitter *splitter, · line 568

Quoted 7 lines
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +2 -2
@@ -564,8 +564,8 @@ komeda_splitter_validate(struct komeda_splitter *splitter,
 	}
 
 	if (!in_range(&splitter->vsize, dflow->in_h)) {
-		DRM_DEBUG_ATOMIC("split in_in: %d exceed the acceptable range.\n",
-				 dflow->in_w);
+		DRM_DEBUG_ATOMIC("split in_h: %d exceeds the acceptable range.\n",
+				 dflow->in_h);

drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_splitter_validate(struct komeda_splitter *splitter, · line 571

Quoted 3 lines
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +0 -0
 		return -EINVAL;
 	}
 

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
Quoted 19 lines · On Wednesday, 16 October 2019 09:23:03 BST james qian wang (Arm Technology…
Quoted 18 lines · Mihail Atanassov

Fix both the string and the struct member being printed.

Changes since v1:
- Now with a bonus grammar fix, too.

Fixes 264b9436d23b ("drm/komeda: Enable writeback split support")
---
 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +0 -0
index 950235af1e79..2b624bfe1751 100644
@@ -564,8 +564,8 @@ komeda_splitter_validate(struct komeda_splitter *splitter,
 	}
 
Quoted 7 lines

drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c komeda_splitter_validate(struct komeda_splitter *splitter, · line 568

Quoted 5 lines
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +2 -2
 	if (!in_range(&splitter->vsize, dflow->in_h)) {
-		DRM_DEBUG_ATOMIC("split in_in: %d exceed the acceptable range.\n",
-				 dflow->in_w);
+		DRM_DEBUG_ATOMIC("split in_h: %d exceeds the acceptable range.\n",
+				 dflow->in_h);

Thanks for the review, applied to drm-misc-fixes - 8ae501e295cce9bc6e0dd82d5204a1d5faef44f8.

Quoted 4 lines
Quoted 3 lines
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +0 -0
 		return -EINVAL;
 	}
 
Signature · 8 lines
Mihail



_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel