diff mbox series

[2/5] drm/gma500: Fix spelling typo in comment

Message ID tencent_E15665F62AAE22B108A00645874D3F53CF07@qq.com (mailing list archive)
State New, archived
Headers show
Series [1/5] drm/arm: Fix spelling typo in comments | expand

Commit Message

1064094935 May 27, 2022, 3:41 a.m. UTC
From: pengfuyuan <pengfuyuan@kylinos.cn>

Fix spelling typo in comment.

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: pengfuyuan <pengfuyuan@kylinos.cn>
---
 drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Patrik Jakobsson June 2, 2022, 8:25 a.m. UTC | #1
On Fri, May 27, 2022 at 5:42 AM <1064094935@qq.com> wrote:
>
> From: pengfuyuan <pengfuyuan@kylinos.cn>
>
> Fix spelling typo in comment.
>
> Reported-by: k2ci <kernel-bot@kylinos.cn>
> Signed-off-by: pengfuyuan <pengfuyuan@kylinos.cn>
> ---
>  drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h b/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
> index 600e79744d68..7efbd7c45c90 100644
> --- a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
> +++ b/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
> @@ -371,7 +371,7 @@ struct psb_intel_sdvo_tv_format {
>
>  #define SDVO_CMD_SET_TV_FORMAT                         0x29
>
> -/** Returns the resolutiosn that can be used with the given TV format */
> +/** Returns the resolution that can be used with the given TV format */

Hi,
Can you also fix the /** at the start of the comment. One patch for
both changes is fine.

-Patrik

>  #define SDVO_CMD_GET_SDTV_RESOLUTION_SUPPORT           0x83
>  struct psb_intel_sdvo_sdtv_resolution_request {
>      unsigned int ntsc_m:1;
> --
> 2.25.1
>
>
> No virus found
>                 Checked by Hillstone Network AntiVirus
1064094935 June 16, 2022, 6:31 a.m. UTC | #2
Hi,
This is great advice, thanks. I will resubmit this patch again.


Best regards,
pengfuyuan





------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "Patrik Jakobsson"                                                                                    <patrik.r.jakobsson@gmail.com&gt;;
发送时间:&nbsp;2022年6月2日(星期四) 下午4:25
收件人:&nbsp;"1064094935"<1064094935@qq.com&gt;;
抄送:&nbsp;"David Airlie"<airlied@linux.ie&gt;;"Daniel Vetter"<daniel@ffwll.ch&gt;;"dri-devel"<dri-devel@lists.freedesktop.org&gt;;"linux-kernel"<linux-kernel@vger.kernel.org&gt;;"pengfuyuan"<pengfuyuan@kylinos.cn&gt;;"k2ci"<kernel-bot@kylinos.cn&gt;;
主题:&nbsp;Re: [PATCH 2/5] drm/gma500: Fix spelling typo in comment



On Fri, May 27, 2022 at 5:42 AM <1064094935@qq.com&gt; wrote:
&gt;
&gt; From: pengfuyuan <pengfuyuan@kylinos.cn&gt;
&gt;
&gt; Fix spelling typo in comment.
&gt;
&gt; Reported-by: k2ci <kernel-bot@kylinos.cn&gt;
&gt; Signed-off-by: pengfuyuan <pengfuyuan@kylinos.cn&gt;
&gt; ---
&gt;&nbsp; drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h | 2 +-
&gt;&nbsp; 1 file changed, 1 insertion(+), 1 deletion(-)
&gt;
&gt; diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h b/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
&gt; index 600e79744d68..7efbd7c45c90 100644
&gt; --- a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
&gt; +++ b/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
&gt; @@ -371,7 +371,7 @@ struct psb_intel_sdvo_tv_format {
&gt;
&gt;&nbsp; #define SDVO_CMD_SET_TV_FORMAT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x29
&gt;
&gt; -/** Returns the resolutiosn that can be used with the given TV format */
&gt; +/** Returns the resolution that can be used with the given TV format */

Hi,
Can you also fix the /** at the start of the comment. One patch for
both changes is fine.

-Patrik

&gt;&nbsp; #define SDVO_CMD_GET_SDTV_RESOLUTION_SUPPORT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x83
&gt;&nbsp; struct psb_intel_sdvo_sdtv_resolution_request {
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unsigned int ntsc_m:1;
&gt; --
&gt; 2.25.1
&gt;
&gt;
&gt; No virus found
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Checked by Hillstone Network AntiVirus
diff mbox series

Patch

diff --git a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h b/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
index 600e79744d68..7efbd7c45c90 100644
--- a/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
+++ b/drivers/gpu/drm/gma500/psb_intel_sdvo_regs.h
@@ -371,7 +371,7 @@  struct psb_intel_sdvo_tv_format {
 
 #define SDVO_CMD_SET_TV_FORMAT				0x29
 
-/** Returns the resolutiosn that can be used with the given TV format */
+/** Returns the resolution that can be used with the given TV format */
 #define SDVO_CMD_GET_SDTV_RESOLUTION_SUPPORT		0x83
 struct psb_intel_sdvo_sdtv_resolution_request {
     unsigned int ntsc_m:1;