Skip to contentSkip to conversation

drm/komeda: Fix typos in komeda_splitter_validate

PATCH Superseded Mihail Atanassov 3 participants 3 messages Sep 20, 2019 – Sep 27, 2019

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

Fix both the string and the struct member being printed.

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..de64a6a9964e 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 exceed 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

Hi Mihail

Quoted 13 lines · Mihail Atanassov

Fix both the string and the struct member being printed.

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..de64a6a9964e 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 exceed the acceptable range.\n",
+				 dflow->in_h);

Thank you for the patch.

Quoted 5 lines
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +0 -0
 		return -EINVAL;
 	}
 
Signature · 1 line
2.23.0

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

maintainer
#2 lore raw
In reply to Mihail Atanassov
Quoted 13 lines · Mihail Atanassov

Fix both the string and the struct member being printed.

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..de64a6a9964e 100644

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

Quoted 6 lines
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +1 -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 exceed the acceptable range.\n",

Being pedandic: s/exceed/exceeds/.

Best regards,
Liviu

Quoted 7 lines
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +1 -0
+				 dflow->in_h);
 		return -EINVAL;
 	}
 
Signature · 1 line
2.23.0
Signature · 8 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯