2024-01-19 10:31:03

by Oleksandr Natalenko

[permalink] [raw]
Subject: [PATCH] drm/display: fix typo

While studying the code I've bumped into a small typo within the
kernel-doc for two functions, apparently, due to copy-paste.

This commit fixes "sizo" word to be "size".

Signed-off-by: Oleksandr Natalenko <[email protected]>
---
drivers/gpu/drm/display/drm_dp_dual_mode_helper.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c b/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
index bd61e20770a5b..14a2a8473682b 100644
--- a/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
+++ b/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
@@ -52,7 +52,7 @@
* @adapter: I2C adapter for the DDC bus
* @offset: register offset
* @buffer: buffer for return data
- * @size: sizo of the buffer
+ * @size: size of the buffer
*
* Reads @size bytes from the DP dual mode adaptor registers
* starting at @offset.
@@ -116,7 +116,7 @@ EXPORT_SYMBOL(drm_dp_dual_mode_read);
* @adapter: I2C adapter for the DDC bus
* @offset: register offset
* @buffer: buffer for write data
- * @size: sizo of the buffer
+ * @size: size of the buffer
*
* Writes @size bytes to the DP dual mode adaptor registers
* starting at @offset.
--
2.43.0



2024-01-20 06:45:08

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] drm/display: fix typo



On 1/19/24 02:22, Oleksandr Natalenko wrote:
> While studying the code I've bumped into a small typo within the
> kernel-doc for two functions, apparently, due to copy-paste.
>
> This commit fixes "sizo" word to be "size".
>
> Signed-off-by: Oleksandr Natalenko <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

Thanks.

> ---
> drivers/gpu/drm/display/drm_dp_dual_mode_helper.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c b/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> index bd61e20770a5b..14a2a8473682b 100644
> --- a/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> +++ b/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> @@ -52,7 +52,7 @@
> * @adapter: I2C adapter for the DDC bus
> * @offset: register offset
> * @buffer: buffer for return data
> - * @size: sizo of the buffer
> + * @size: size of the buffer
> *
> * Reads @size bytes from the DP dual mode adaptor registers
> * starting at @offset.
> @@ -116,7 +116,7 @@ EXPORT_SYMBOL(drm_dp_dual_mode_read);
> * @adapter: I2C adapter for the DDC bus
> * @offset: register offset
> * @buffer: buffer for write data
> - * @size: sizo of the buffer
> + * @size: size of the buffer
> *
> * Writes @size bytes to the DP dual mode adaptor registers
> * starting at @offset.

--
#Randy

2024-03-31 19:10:45

by Oleksandr Natalenko

[permalink] [raw]
Subject: Re: [PATCH] drm/display: fix typo

On sobota 20. ledna 2024 7:44:45, CEST Randy Dunlap wrote:
>
> On 1/19/24 02:22, Oleksandr Natalenko wrote:
> > While studying the code I've bumped into a small typo within the
> > kernel-doc for two functions, apparently, due to copy-paste.
> >
> > This commit fixes "sizo" word to be "size".
> >
> > Signed-off-by: Oleksandr Natalenko <[email protected]>
>
> Acked-by: Randy Dunlap <[email protected]>
>
> Thanks.
>
> > ---
> > drivers/gpu/drm/display/drm_dp_dual_mode_helper.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c b/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> > index bd61e20770a5b..14a2a8473682b 100644
> > --- a/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> > +++ b/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> > @@ -52,7 +52,7 @@
> > * @adapter: I2C adapter for the DDC bus
> > * @offset: register offset
> > * @buffer: buffer for return data
> > - * @size: sizo of the buffer
> > + * @size: size of the buffer
> > *
> > * Reads @size bytes from the DP dual mode adaptor registers
> > * starting at @offset.
> > @@ -116,7 +116,7 @@ EXPORT_SYMBOL(drm_dp_dual_mode_read);
> > * @adapter: I2C adapter for the DDC bus
> > * @offset: register offset
> > * @buffer: buffer for write data
> > - * @size: sizo of the buffer
> > + * @size: size of the buffer
> > *
> > * Writes @size bytes to the DP dual mode adaptor registers
> > * starting at @offset.
>
>

Gentle ping. I don't see this change in linux-next, so probably it got lost.

--
Oleksandr Natalenko (post-factum)


Attachments:
signature.asc (849.00 B)
This is a digitally signed message part.

2024-04-01 19:34:04

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH] drm/display: fix typo

On Fri, 19 Jan 2024 at 12:31, Oleksandr Natalenko
<[email protected]> wrote:
>
> While studying the code I've bumped into a small typo within the
> kernel-doc for two functions, apparently, due to copy-paste.
>
> This commit fixes "sizo" word to be "size".
>
> Signed-off-by: Oleksandr Natalenko <[email protected]>
> ---
> drivers/gpu/drm/display/drm_dp_dual_mode_helper.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Fixes: b3daa5ef52c2 ("drm: Add helper for DP++ adaptors")
Reviewed-by: Dmitry Baryshkov <[email protected]>

>
> diff --git a/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c b/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> index bd61e20770a5b..14a2a8473682b 100644
> --- a/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> +++ b/drivers/gpu/drm/display/drm_dp_dual_mode_helper.c
> @@ -52,7 +52,7 @@
> * @adapter: I2C adapter for the DDC bus
> * @offset: register offset
> * @buffer: buffer for return data
> - * @size: sizo of the buffer
> + * @size: size of the buffer
> *
> * Reads @size bytes from the DP dual mode adaptor registers
> * starting at @offset.
> @@ -116,7 +116,7 @@ EXPORT_SYMBOL(drm_dp_dual_mode_read);
> * @adapter: I2C adapter for the DDC bus
> * @offset: register offset
> * @buffer: buffer for write data
> - * @size: sizo of the buffer
> + * @size: size of the buffer
> *
> * Writes @size bytes to the DP dual mode adaptor registers
> * starting at @offset.
> --
> 2.43.0
>


--
With best wishes
Dmitry

2024-04-01 19:38:02

by Dmitry Baryshkov

[permalink] [raw]
Subject: Re: [PATCH] drm/display: fix typo

On Fri, 19 Jan 2024 11:22:15 +0100, Oleksandr Natalenko wrote:
> While studying the code I've bumped into a small typo within the
> kernel-doc for two functions, apparently, due to copy-paste.
>
> This commit fixes "sizo" word to be "size".
>
>

Applied to drm-misc-fixes, thanks!

[1/1] drm/display: fix typo
commit: fddf09273807bf6e51537823aaae896e05f147f9

Best regards,
--
Dmitry Baryshkov <[email protected]>