* [PATCH] staging: dgnc: Break up long comment @ 2016-09-22 1:10 Elizabeth Ferdman 2016-09-22 6:08 ` [Outreachy kernel] " Julia Lawall 0 siblings, 1 reply; 4+ messages in thread From: Elizabeth Ferdman @ 2016-09-22 1:10 UTC (permalink / raw) To: outreachy-kernel, Alison Schofield, daniel.baluta Cc: lidza.louina, markh, gregkh This patch splits a long comment up into two lines; error found by checkpatch Signed-off-by: Elizabeth Ferdman <gnudevliz@gmail.com> --- drivers/staging/dgnc/dgnc_neo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c index e794056..cb63351 100644 --- a/drivers/staging/dgnc/dgnc_neo.c +++ b/drivers/staging/dgnc/dgnc_neo.c @@ -996,7 +996,8 @@ static irqreturn_t neo_intr(int irq, void *voidbrd) case UART_17158_TXRDY: /* - * TXRDY interrupt clears after reading ISR register for the UART channel. + * TXRDY interrupt clears after reading + * ISR register for the UART channel. */ /* -- 2.1.4 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Outreachy kernel] [PATCH] staging: dgnc: Break up long comment 2016-09-22 1:10 [PATCH] staging: dgnc: Break up long comment Elizabeth Ferdman @ 2016-09-22 6:08 ` Julia Lawall 2016-09-22 22:43 ` Elizabeth Ferdman 0 siblings, 1 reply; 4+ messages in thread From: Julia Lawall @ 2016-09-22 6:08 UTC (permalink / raw) To: Elizabeth Ferdman Cc: outreachy-kernel, Alison Schofield, daniel.baluta, lidza.louina, markh, gregkh On Wed, 21 Sep 2016, Elizabeth Ferdman wrote: > This patch splits a long comment up into two lines; error found by checkpatch > > Signed-off-by: Elizabeth Ferdman <gnudevliz@gmail.com> > --- > drivers/staging/dgnc/dgnc_neo.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c > index e794056..cb63351 100644 > --- a/drivers/staging/dgnc/dgnc_neo.c > +++ b/drivers/staging/dgnc/dgnc_neo.c > @@ -996,7 +996,8 @@ static irqreturn_t neo_intr(int irq, void *voidbrd) > > case UART_17158_TXRDY: > /* > - * TXRDY interrupt clears after reading ISR register for the UART channel. > + * TXRDY interrupt clears after reading > + * ISR register for the UART channel. The form of the patch is OK, but I don't think that he change is an improvement. I guess it was one character over before, or something like that, because even with the added character at the front for the change, the line looks fine. But the main problem with the change is that the lines now look visually similar in a way that doesn't correspond to the semantics of the comment. One has the impression that there are two independent points, one about TXRDY and one about ISR, and that a period was incorrectly omitted at the end of the first line. But this is not the case. TXRDY is the subject and ISR is the object. julia > */ > > /* > -- > 2.1.4 > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160922011045.GA3636%40localhost. > For more options, visit https://groups.google.com/d/optout. > ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] staging: dgnc: Break up long comment 2016-09-22 6:08 ` [Outreachy kernel] " Julia Lawall @ 2016-09-22 22:43 ` Elizabeth Ferdman 2016-09-23 5:29 ` [Outreachy kernel] " Julia Lawall 0 siblings, 1 reply; 4+ messages in thread From: Elizabeth Ferdman @ 2016-09-22 22:43 UTC (permalink / raw) To: julia.lawall, outreachy-kernel On Thu, Sep 22, 2016 at 08:08:20AM +0200, Julia Lawall wrote: > > > On Wed, 21 Sep 2016, Elizabeth Ferdman wrote: > > > This patch splits a long comment up into two lines; error found by checkpatch > > > > Signed-off-by: Elizabeth Ferdman <gnudevliz@gmail.com> > > --- > > drivers/staging/dgnc/dgnc_neo.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c > > index e794056..cb63351 100644 > > --- a/drivers/staging/dgnc/dgnc_neo.c > > +++ b/drivers/staging/dgnc/dgnc_neo.c > > @@ -996,7 +996,8 @@ static irqreturn_t neo_intr(int irq, void *voidbrd) > > > > case UART_17158_TXRDY: > > /* > > - * TXRDY interrupt clears after reading ISR register for the UART channel. > > + * TXRDY interrupt clears after reading > > + * ISR register for the UART channel. > > The form of the patch is OK, but I don't think that he change is an > improvement. I guess it was one character over before, or something like > that, because even with the added character at the front for the change, > the line looks fine. But the main problem with the change is that the > lines now look visually similar in a way that doesn't correspond to the > semantics of the comment. One has the impression that there are two > independent points, one about TXRDY and one about ISR, and that a period > was incorrectly omitted at the end of the first line. But this is not the > case. TXRDY is the subject and ISR is the object. > > julia > > > */ > > > > /* > > -- > > 2.1.4 > > > > -- > > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > > To post to this group, send email to outreachy-kernel@googlegroups.com. > > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160922011045.GA3636%40localhost. > > For more options, visit https://groups.google.com/d/optout. > > Julia, thanks for the feedback. It was caught by checkpatch, but it wasn't even over 80 chars. I must have been looking at the bigger number in vim. Since this shouldn't have been patched in the first place, I'm not going to do any revising here. I'll just move on to another one. Elizabeth ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Outreachy kernel] [PATCH] staging: dgnc: Break up long comment 2016-09-22 22:43 ` Elizabeth Ferdman @ 2016-09-23 5:29 ` Julia Lawall 0 siblings, 0 replies; 4+ messages in thread From: Julia Lawall @ 2016-09-23 5:29 UTC (permalink / raw) To: Elizabeth Ferdman; +Cc: outreachy-kernel On Thu, 22 Sep 2016, Elizabeth Ferdman wrote: > On Thu, Sep 22, 2016 at 08:08:20AM +0200, Julia Lawall wrote: > > > > > > On Wed, 21 Sep 2016, Elizabeth Ferdman wrote: > > > > > This patch splits a long comment up into two lines; error found by checkpatch > > > > > > Signed-off-by: Elizabeth Ferdman <gnudevliz@gmail.com> > > > --- > > > drivers/staging/dgnc/dgnc_neo.c | 3 ++- > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c > > > index e794056..cb63351 100644 > > > --- a/drivers/staging/dgnc/dgnc_neo.c > > > +++ b/drivers/staging/dgnc/dgnc_neo.c > > > @@ -996,7 +996,8 @@ static irqreturn_t neo_intr(int irq, void *voidbrd) > > > > > > case UART_17158_TXRDY: > > > /* > > > - * TXRDY interrupt clears after reading ISR register for the UART channel. > > > + * TXRDY interrupt clears after reading > > > + * ISR register for the UART channel. > > > > The form of the patch is OK, but I don't think that he change is an > > improvement. I guess it was one character over before, or something like > > that, because even with the added character at the front for the change, > > the line looks fine. But the main problem with the change is that the > > lines now look visually similar in a way that doesn't correspond to the > > semantics of the comment. One has the impression that there are two > > independent points, one about TXRDY and one about ISR, and that a period > > was incorrectly omitted at the end of the first line. But this is not the > > case. TXRDY is the subject and ISR is the object. > > > > julia > > > > > */ > > > > > > /* > > > -- > > > 2.1.4 > > > > > > -- > > > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > > > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > > > To post to this group, send email to outreachy-kernel@googlegroups.com. > > > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160922011045.GA3636%40localhost. > > > For more options, visit https://groups.google.com/d/optout. > > > > > Julia, thanks for the feedback. It was caught by checkpatch, but it > wasn't even over 80 chars. I must have been looking at the bigger > number in vim. Since this shouldn't have been patched in the first > place, I'm not going to do any revising here. I'll just move on to > another one. Good job for not top posting, but it is better to put your reply right under the text you are replying to. I had to scan through your message several times before finding your comment... julia > > Elizabeth > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160922224339.GC3579%40localhost. > For more options, visit https://groups.google.com/d/optout. > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-09-23 5:30 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-09-22 1:10 [PATCH] staging: dgnc: Break up long comment Elizabeth Ferdman 2016-09-22 6:08 ` [Outreachy kernel] " Julia Lawall 2016-09-22 22:43 ` Elizabeth Ferdman 2016-09-23 5:29 ` [Outreachy kernel] " Julia Lawall
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.