linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] drm/komeda: Fix typos in komeda_splitter_validate
@ 2019-09-30 12:23 Mihail Atanassov
  2019-10-16  8:23 ` [v2] " james qian wang (Arm Technology China)
  0 siblings, 1 reply; 3+ messages in thread
From: Mihail Atanassov @ 2019-09-30 12:23 UTC (permalink / raw)
  To: dri-devel
  Cc: Mihail Atanassov, nd, james qian wang (Arm Technology China),
	Liviu Dudau, Brian Starkey, David Airlie, Daniel Vetter,
	linux-kernel

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")
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
---
 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
index 950235af1e79..2b624bfe1751 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
@@ -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;
 	}
 
-- 
2.23.0


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

* Re: [v2] drm/komeda: Fix typos in komeda_splitter_validate
  2019-09-30 12:23 [PATCH v2] drm/komeda: Fix typos in komeda_splitter_validate Mihail Atanassov
@ 2019-10-16  8:23 ` james qian wang (Arm Technology China)
  2019-10-21 14:02   ` Mihail Atanassov
  0 siblings, 1 reply; 3+ messages in thread
From: james qian wang (Arm Technology China) @ 2019-10-16  8:23 UTC (permalink / raw)
  To: Mihail Atanassov; +Cc: dri-devel, David Airlie, Liviu Dudau, linux-kernel, nd

On Mon, Sep 30, 2019 at 12:23:07PM +0000, Mihail Atanassov wrote:
> 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")
> Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
> ---
>  drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
> index 950235af1e79..2b624bfe1751 100644
> --- a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
> +++ b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
> @@ -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);

Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
>  		return -EINVAL;
>  	}
>  

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

* Re: [v2] drm/komeda: Fix typos in komeda_splitter_validate
  2019-10-16  8:23 ` [v2] " james qian wang (Arm Technology China)
@ 2019-10-21 14:02   ` Mihail Atanassov
  0 siblings, 0 replies; 3+ messages in thread
From: Mihail Atanassov @ 2019-10-21 14:02 UTC (permalink / raw)
  To: james qian wang (Arm Technology China)
  Cc: dri-devel, David Airlie, Liviu Dudau, linux-kernel, nd

On Wednesday, 16 October 2019 09:23:03 BST james qian wang (Arm Technology China) wrote:
> On Mon, Sep 30, 2019 at 12:23:07PM +0000, Mihail Atanassov wrote:
> > 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")
> > Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
> > ---
> >  drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
> > index 950235af1e79..2b624bfe1751 100644
> > --- a/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
> > +++ b/drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c
> > @@ -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);
> 
> Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>

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

> >  		return -EINVAL;
> >  	}
> >  
> 


-- 
Mihail




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

end of thread, other threads:[~2019-10-21 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-30 12:23 [PATCH v2] drm/komeda: Fix typos in komeda_splitter_validate Mihail Atanassov
2019-10-16  8:23 ` [v2] " james qian wang (Arm Technology China)
2019-10-21 14:02   ` Mihail Atanassov

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).