Skip to contentSkip to conversation

drm/display: drop unexpected word "the" in the comments

PATCH In review Jiang Jian 2 participants 5 messages Jun 21, 2022 – Jun 22, 2022

Subsystems (2)
lore
Share & tools
lore

Jiang Jian

author
#0 lore raw

PATCH 1/1 drm/display: drop unexpected word "the" in the comments

there is an unexpected word "the" in the comments that need to be dropped

file: drivers/gpu/drm/display/drm_dp_helper.c
line: 1600
* Doesn't account the the "MOT" bit, and instead assumes each
changed to
* Doesn't account the "MOT" bit, and instead assumes each

---
 drivers/gpu/drm/display/drm_dp_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/display/drm_dp_helper.c +1 -1
index e7c22c2ca90c..499f75768523 100644
@@ -1597,7 +1597,7 @@ static int drm_dp_aux_reply_duration(const struct drm_dp_aux_msg *msg)
  * Calculate the length of the i2c transfer in usec, assuming
  * the i2c bus speed is as specified. Gives the the "worst"
  * case estimate, ie. successful while as long as possible.
- * Doesn't account the the "MOT" bit, and instead assumes each
+ * Doesn't account the "MOT" bit, and instead assumes each
  * message includes a START, ADDRESS and STOP. Neither does it
  * account for additional random variables such as clock stretching.
  */
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Will push to the appropriate branch in a moment

Quoted 28 lines · Jiang Jian

there is an unexpected word "the" in the comments that need to be dropped

file: drivers/gpu/drm/display/drm_dp_helper.c
line: 1600
  * Doesn't account the the "MOT" bit, and instead assumes each changed to
  * Doesn't account the "MOT" bit, and instead assumes each

---
 drivers/gpu/drm/display/drm_dp_helper.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/display/drm_dp_helper.c +1 -1
index e7c22c2ca90c..499f75768523 100644
@@ -1597,7 +1597,7 @@ static int drm_dp_aux_reply_duration(const struct
 drm_dp_aux_msg *msg)
   * Calculate the length of the i2c transfer in usec, assuming
   * the i2c bus speed is as specified. Gives the the "worst"
   * case estimate, ie. successful while as long as possible.
- * Doesn't account the the "MOT" bit, and instead assumes each
+ * Doesn't account the "MOT" bit, and instead assumes each
   * message includes a START, ADDRESS and STOP. Neither does it
   * account for additional random variables such as clock stretching.

  */

Signature · 3 lines
Cheers,
 Lyude Paul (she/her)
 Software Engineer at Red Hat
#2 lore raw

Actually I hate to ask but could you resend this and the other patch that you sent and make sure that dri-devel@ is explicitly in the to: list? For some reason these patches don't seem to be coming up on patchwork

Quoted 34 lines · Lyude Paul

Will push to the appropriate branch in a moment

Quoted 28 lines · Jiang Jian

there is an unexpected word "the" in the comments that need to be dropped

file: drivers/gpu/drm/display/drm_dp_helper.c
line: 1600
  * Doesn't account the the "MOT" bit, and instead assumes each changed to
  * Doesn't account the "MOT" bit, and instead assumes each

---
 drivers/gpu/drm/display/drm_dp_helper.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/display/drm_dp_helper.c +1 -1
index e7c22c2ca90c..499f75768523 100644
@@ -1597,7 +1597,7 @@ static int drm_dp_aux_reply_duration(const struct
 drm_dp_aux_msg *msg)
   * Calculate the length of the i2c transfer in usec, assuming
   * the i2c bus speed is as specified. Gives the the "worst"
   * case estimate, ie. successful while as long as possible.
- * Doesn't account the the "MOT" bit, and instead assumes each
+ * Doesn't account the "MOT" bit, and instead assumes each
   * message includes a START, ADDRESS and STOP. Neither does it
   * account for additional random variables such as clock stretching.

  */

Signature · 3 lines
Cheers,
 Lyude Paul (she/her)
 Software Engineer at Red Hat
author
#3 lore raw

I need resubmit a new patch,  how can i make sure dri-devel@  is explicitly?I got to:list by the script  name of get_maintainer.pl.
Pls help me…

发自我的企业微信 

----------Reply to Message----------
On Wed,Jun 22,2022 2:07 AM Lyude Paul <[email protected]&gt; wrote:
Actually&nbsp;I&nbsp;hate&nbsp;to&nbsp;ask&nbsp;but&nbsp;could&nbsp;you&nbsp;resend&nbsp;this&nbsp;and&nbsp;the&nbsp;other&nbsp;patch&nbsp;that&nbsp;you
sent&nbsp;and&nbsp;make&nbsp;sure&nbsp;that&nbsp;dri-devel@&nbsp;is&nbsp;explicitly&nbsp;in&nbsp;the&nbsp;to:&nbsp;list?&nbsp;For&nbsp;some reason&nbsp;these&nbsp;patches&nbsp;don't&nbsp;seem&nbsp;to&nbsp;be&nbsp;coming&nbsp;up&nbsp;on&nbsp;patchwork

On&nbsp;Tue,&nbsp;2022-06-21&nbsp;at&nbsp;13:54&nbsp;-0400,&nbsp;Lyude&nbsp;Paul&nbsp;wrote:
&gt;&nbsp;Reviewed-by:&nbsp;Lyude&nbsp;Paul&nbsp;<[email protected]&gt;
&gt;&nbsp;
&gt;&nbsp;Will&nbsp;push&nbsp;to&nbsp;the&nbsp;appropriate&nbsp;branch&nbsp;in&nbsp;a&nbsp;moment
&gt;&nbsp;
&gt;&nbsp;On&nbsp;Tue,&nbsp;2022-06-21&nbsp;at&nbsp;21:14&nbsp;+0800,&nbsp;Jiang&nbsp;Jian&nbsp;wrote:
&gt;&nbsp;&gt;&nbsp;there&nbsp;is&nbsp;an&nbsp;unexpected&nbsp;word&nbsp;"the"&nbsp;in&nbsp;the&nbsp;comments&nbsp;that&nbsp;need&nbsp;to&nbsp;be&nbsp;dropped &gt;&nbsp;&gt;&nbsp;
&gt;&nbsp;&gt;&nbsp;file:&nbsp;drivers/gpu/drm/display/drm_dp_helper.c
&gt;&nbsp;&gt;&nbsp;line:&nbsp;1600 &gt;&nbsp;&gt;&nbsp;&nbsp;&nbsp;*&nbsp;Doesn't&nbsp;account&nbsp;the&nbsp;the&nbsp;"MOT"&nbsp;bit,&nbsp;and&nbsp;instead&nbsp;assumes&nbsp;each &gt;&nbsp;&gt;&nbsp;changed&nbsp;to &gt;&nbsp;&gt;&nbsp;&nbsp;&nbsp;*&nbsp;Doesn't&nbsp;account&nbsp;the&nbsp;"MOT"&nbsp;bit,&nbsp;and&nbsp;instead&nbsp;assumes&nbsp;each &gt;&nbsp;&gt;&nbsp;
&gt;&nbsp;&gt;&nbsp;Signed-off-by:&nbsp;Jiang&nbsp;Jian&nbsp;<[email protected]&gt;
&gt;&nbsp;&gt;&nbsp;---
&gt;&nbsp;&gt;&nbsp;&nbsp;drivers/gpu/drm/display/drm_dp_helper.c&nbsp;|&nbsp;2&nbsp;+- &gt;&nbsp;&gt;&nbsp;&nbsp;1&nbsp;file&nbsp;changed,&nbsp;1&nbsp;insertion(+),&nbsp;1&nbsp;deletion(-)
&gt;&nbsp;&gt;&nbsp;
&gt;&nbsp;&gt;&nbsp;diff&nbsp;--git&nbsp;a/drivers/gpu/drm/display/drm_dp_helper.c &gt;&nbsp;&gt;&nbsp;b/drivers/gpu/drm/display/drm_dp_helper.c
&gt;&nbsp;&gt;&nbsp;index&nbsp;e7c22c2ca90c..499f75768523&nbsp;100644 &gt;&nbsp;&gt;&nbsp;---&nbsp;a/drivers/gpu/drm/display/drm_dp_helper.c &gt;&nbsp;&gt;&nbsp;+++&nbsp;b/drivers/gpu/drm/display/drm_dp_helper.c &gt;&nbsp;&gt;&nbsp;@@&nbsp;-1597,7&nbsp;+1597,7&nbsp;@@&nbsp;static&nbsp;int&nbsp;drm_dp_aux_reply_duration(const&nbsp;struct &gt;&nbsp;&gt;&nbsp;drm_dp_aux_msg&nbsp;*msg) &gt;&nbsp;&gt;&nbsp;&nbsp;&nbsp;*&nbsp;Calculate&nbsp;the&nbsp;length&nbsp;of&nbsp;the&nbsp;i2c&nbsp;transfer&nbsp;in&nbsp;usec,&nbsp;assuming &gt;&nbsp;&gt;&nbsp;&nbsp;&nbsp;*&nbsp;the&nbsp;i2c&nbsp;bus&nbsp;speed&nbsp;is&nbsp;as&nbsp;specified.&nbsp;Gives&nbsp;the&nbsp;the&nbsp;"worst" &gt;&nbsp;&gt;&nbsp;&nbsp;&nbsp;*&nbsp;case&nbsp;estimate,&nbsp;ie.&nbsp;successful&nbsp;while&nbsp;as&nbsp;long&nbsp;as&nbsp;possible. &gt;&nbsp;&gt;&nbsp;-&nbsp;*&nbsp;Doesn't&nbsp;account&nbsp;the&nbsp;the&nbsp;"MOT"&nbsp;bit,&nbsp;and&nbsp;instead&nbsp;assumes&nbsp;each &gt;&nbsp;&gt;&nbsp;+&nbsp;*&nbsp;Doesn't&nbsp;account&nbsp;the&nbsp;"MOT"&nbsp;bit,&nbsp;and&nbsp;instead&nbsp;assumes&nbsp;each &gt;&nbsp;&gt;&nbsp;&nbsp;&nbsp;*&nbsp;message&nbsp;includes&nbsp;a&nbsp;START,&nbsp;ADDRESS&nbsp;and&nbsp;STOP.&nbsp;Neither&nbsp;does&nbsp;it &gt;&nbsp;&gt;&nbsp;&nbsp;&nbsp;*&nbsp;account&nbsp;for&nbsp;additional&nbsp;random&nbsp;variables&nbsp;such&nbsp;as&nbsp;clock&nbsp;stretching. &gt;&nbsp;&gt;&nbsp;&nbsp;&nbsp;*/
&gt;&nbsp;

--&nbsp;
Cheers,
&nbsp;Lyude&nbsp;Paul&nbsp;(she/her) &nbsp;Software&nbsp;Engineer&nbsp;at&nbsp;Red&nbsp;Hat

#4 lore raw

You can send it by adding email addresses to git send-email with the "--to [email protected]" argument. If it doesn't come up on patchwork the second try don't worry about it, I'll look and see if I can workaround it. TBH I'm not entirely sure why it didn't show up in the first place

Quoted 57 lines · 蒋健

I need resubmit a new patch,  how can i make sure dri-devel@  is explicitly?I got to:list by the script
 name of get_maintainer.pl.
Pls help me…

发自我的企业微信

----------Reply to Message----------
On Wed,Jun 22,2022 2:07 AM Lyude Paul <[email protected]> wrote:
Actually I hate to ask but could you resend this and the other patch that yo u
sent and make sure that dri-devel@ is explicitly in the to: list? For some reason these patches don't seem to be coming up on patchwork

Quoted 6 lines · Lyude Paul


 Will push to the appropriate branch in a moment

 On Tue, 2022-06-21 at 21:14 +0800, Jiang Jian wrote:
 > there is an unexpected word "the" in the comments that need to be droppe

d

Quoted 20 lines

 >
 > file: drivers/gpu/drm/display/drm_dp_helper.c
 > line: 1600
 >   * Doesn't account the the "MOT" bit, and instead assumes each > changed to
 >   * Doesn't account the "MOT" bit, and instead assumes each >
 > Signed-off-by: Jiang Jian <[email protected]>
 > ---
 >  drivers/gpu/drm/display/drm_dp_helper.c | 2 +-
 >  1 file changed, 1 insertion(+), 1 deletion(-)
 >
 > diff --git a/drivers/gpu/drm/display/drm_dp_helper.c
 > b/drivers/gpu/drm/display/drm_dp_helper.c
 > index e7c22c2ca90c..499f75768523 100644
 > --- a/drivers/gpu/drm/display/drm_dp_helper.c
 > +++ b/drivers/gpu/drm/display/drm_dp_helper.c
 > @@ -1597,7 +1597,7 @@ static int drm_dp_aux_reply_duration(const struct > drm_dp_aux_msg *msg)
 >   * Calculate the length of the i2c transfer in usec, assuming

Quoted 8 lines

 >   * the i2c bus speed is as specified. Gives the the "worst" >   * case estimate, ie. successful while as long as possible. > - * Doesn't account the the "MOT" bit, and instead assumes each > + * Doesn't account the "MOT" bit, and instead assumes each >   * message includes a START, ADDRESS and STOP. Neither does it >   * account for additional random variables such as clock stretching. >   */

--
Cheers,
 Lyude Paul (she/her)
 Software Engineer at Red Hat

Signature · 3 lines
Cheers,
Lyude Paul (she/her)
Software Engineer at Red Hat