Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583915 > unrolled thread

Re: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block comments warning

Started byJulia Lawall <julia.lawall@lip6.fr>
First post2017-02-18 16:40 +0100
Last post2017-02-18 18:20 +0100
Articles 3 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block  comments warning Julia Lawall <julia.lawall@lip6.fr> - 2017-02-18 16:40 +0100
    Re: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block  comments warning Julia Lawall <julia.lawall@lip6.fr> - 2017-02-18 17:20 +0100
      Re: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block  comments warning Julia Lawall <julia.lawall@lip6.fr> - 2017-02-18 18:20 +0100

#1583915 — Re: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block comments warning

FromJulia Lawall <julia.lawall@lip6.fr>
Date2017-02-18 16:40 +0100
SubjectRe: [Outreachy kernel] [PATCH 3/6] staging: rtl8192e: Fix block comments warning
Message-ID<tcfh8-3CH-11@gated-at.bofh.it>

On Sat, 18 Feb 2017, simran singhal wrote:

> Align * on a line, to conform to the kernal coding
> style for block comments.

It is not clear what is means to align * on a line.  What line?

What has been done is to add a space at the beginning of the line.  But
then the line goes over 80 characters and doesn't line up any more on the
right side.  I would guess that you should have gotten a new warning by
having gone over 80 characters. Fixing one warning should not introduce a
new one, especially for something purely decorative, like this.

julia

>
> Signed-off-by: simran singhal <singhalsimran0@gmail.com>
> ---
>  drivers/staging/rtl8192e/rtl819x_HT.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h
> index 6eb018f..48d101a 100644
> --- a/drivers/staging/rtl8192e/rtl819x_HT.h
> +++ b/drivers/staging/rtl8192e/rtl819x_HT.h
> @@ -11,7 +11,7 @@
>   *
>   * Contact Information:
>   * wlanfae <wlanfae@realtek.com>
> -******************************************************************************/
> + ******************************************************************************/
>  #ifndef _RTL819XU_HTTYPE_H_
>  #define _RTL819XU_HTTYPE_H_
>
> --
> 2.7.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/20170218152351.GA28908%40singhal-Inspiron-5558.
> For more options, visit https://groups.google.com/d/optout.
>

[toc] | [next] | [standalone]


#1583925

FromJulia Lawall <julia.lawall@lip6.fr>
Date2017-02-18 17:20 +0100
Message-ID<tcfTQ-451-5@gated-at.bofh.it>
In reply to#1583915

[Multipart message — attachments visible in raw view] — view raw

On Sat, 18 Feb 2017, SIMRAN SINGHAL wrote:

>
>
> On Saturday, February 18, 2017 at 9:00:51 PM UTC+5:30, Julia Lawall wrote:
>
>
>       On Sat, 18 Feb 2017, simran singhal wrote:
>
>       > Align * on a line, to conform to the kernal coding
>       > style for block comments.
>
>       It is not clear what is means to align * on a line.  What line?
>
>       What has been done is to add a space at the beginning of the
>       line.  But
>       then the line goes over 80 characters and doesn't line up any
>       more on the
>       right side.  I would guess that you should have gotten a new
>       warning by
>       having gone over 80 characters. Fixing one warning should not
>       introduce a
>       new one, especially for something purely decorative, like this.
>
>       julia
>
>  Julia, I am not getting any new warning. It's not gone over 80 characters.

OK, it looked like it would be too long on my screen.

Are the right sides of the * lines lined up after the change?

julia

>  
>       >
>       > Signed-off-by: simran singhal <singhal...@gmail.com>
>       > ---
>       >  drivers/staging/rtl8192e/rtl819x_HT.h | 2 +-
>       >  1 file changed, 1 insertion(+), 1 deletion(-)
>       >
>       > diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h
>       b/drivers/staging/rtl8192e/rtl819x_HT.h
>       > index 6eb018f..48d101a 100644
>       > --- a/drivers/staging/rtl8192e/rtl819x_HT.h
>       > +++ b/drivers/staging/rtl8192e/rtl819x_HT.h
>       > @@ -11,7 +11,7 @@
>       >   *
>       >   * Contact Information:
>       >   * wlanfae <wla...@realtek.com>
>       >-**************************************************************************
>       ****/
>       > +***************************************************************************
>       ***/
>       >  #ifndef _RTL819XU_HTTYPE_H_
>       >  #define _RTL819XU_HTTYPE_H_
>       >
>       > --
>       > 2.7.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-kern...@googlegroups.com.
>       > To post to this group, send email to
>       outreach...@googlegroups.com.
>       > To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/20170218152351.GA28908%4
>       0singhal-Inspiron-5558.
>       > For more options, visit https://groups.google.com/d/optout.
>       >
>
> --
> 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 visithttps://groups.google.com/d/msgid/outreachy-kernel/5192275f-5b36-4e1d-8d66-
> afc735f3a8f6%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

[toc] | [prev] | [next] | [standalone]


#1583934

FromJulia Lawall <julia.lawall@lip6.fr>
Date2017-02-18 18:20 +0100
Message-ID<tcgPU-4DP-17@gated-at.bofh.it>
In reply to#1583925

[Multipart message — attachments visible in raw view] — view raw

On Sat, 18 Feb 2017, SIMRAN SINGHAL wrote:

>
>
> On Saturday, February 18, 2017 at 9:46:48 PM UTC+5:30, Julia Lawall wrote:
>
>
>       On Sat, 18 Feb 2017, SIMRAN SINGHAL wrote:
>
>       >
>       >
>       > On Saturday, February 18, 2017 at 9:00:51 PM UTC+5:30, Julia
>       Lawall wrote:
>       >
>       >
>       >       On Sat, 18 Feb 2017, simran singhal wrote:
>       >
>       >       > Align * on a line, to conform to the kernal coding
>       >       > style for block comments.
>       >
>       >       It is not clear what is means to align * on a line.
>        What line?
>       >
>       >       What has been done is to add a space at the beginning of
>       the
>       >       line.  But
>       >       then the line goes over 80 characters and doesn't line
>       up any
>       >       more on the
>       >       right side.  I would guess that you should have gotten a
>       new
>       >       warning by
>       >       having gone over 80 characters. Fixing one warning
>       should not
>       >       introduce a
>       >       new one, especially for something purely decorative,
>       like this.
>       >
>       >       julia
>       >
>       >  Julia, I am not getting any new warning. It's not gone over
>       80 characters.
>
>       OK, it looked like it would be too long on my screen.
>
>       Are the right sides of the * lines lined up after the change?
>
>       julia
>
> In the right sides of the * lines, stars are lined up. 

OK, thanks.

julia

>       >  
>       >       >
>       >       > Signed-off-by: simran singhal <singhal...@gmail.com>
>       >       > ---
>       >       >  drivers/staging/rtl8192e/rtl819x_HT.h | 2 +-
>       >       >  1 file changed, 1 insertion(+), 1 deletion(-)
>       >       >
>       >       > diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h
>       >       b/drivers/staging/rtl8192e/rtl819x_HT.h
>       >       > index 6eb018f..48d101a 100644
>       >       > --- a/drivers/staging/rtl8192e/rtl819x_HT.h
>       >       > +++ b/drivers/staging/rtl8192e/rtl819x_HT.h
>       >       > @@ -11,7 +11,7 @@
>       >       >   *
>       >       >   * Contact Information:
>       >       >   * wlanfae <wla...@realtek.com>
>       >      >-*************************************************************************
>       *
>       >       ****/
>       >       >+**************************************************************************
>       *
>       >       ***/
>       >       >  #ifndef _RTL819XU_HTTYPE_H_
>       >       >  #define _RTL819XU_HTTYPE_H_
>       >       >
>       >       > --
>       >       > 2.7.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-kern...@googlegroups.com.
>       >       > To post to this group, send email to
>       >       outreach...@googlegroups.com.
>       >       > To view this discussion on the webvisithttps://groups.google.com/d/msgid/outreachy-kernel/20170218152351.GA28
>       908%4
>       >       0singhal-Inspiron-5558.
>       >       > For more options, visit
>       https://groups.google.com/d/optout.
>       >       >
>       >
>       > --
>       > 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-kern...@googlegroups.com.
>       > To post to this group, send email to
>       outreach...@googlegroups.com.
>       > To view this discussion on the webvisithttps://groups.google.com/d/msgid/outreachy-kernel/5192275f-5b36-4e1d-
>       8d66-
>       > afc735f3a8f6%40googlegroups.com.
>       > For more options, visit https://groups.google.com/d/optout.
>       >
>       >
>
> --
> 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 visithttps://groups.google.com/d/msgid/outreachy-kernel/da5a9bc2-9a49-4fac-b7e8-
> eb686d14ad1e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web