All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lourdes Pedrajas <lu@pplo.net>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [PATCH] Staging: vt6655: device_main: cleanup long line
Date: Sun, 8 Mar 2020 14:49:15 +0100	[thread overview]
Message-ID: <20200308134915.GA4173@supernova> (raw)
In-Reply-To: <20200308065010.GC3983392@kroah.com>

On Sun, Mar 08, 2020 at 07:50:10AM +0100, Greg KH wrote:
> On Sun, Mar 08, 2020 at 12:06:31AM +0100, Lourdes Pedrajas wrote:
> > Code cleanup: long line found by checkpatch.
> > 
> >  Changes to be committed:
> > 	modified:   drivers/staging/vt6655/device_main.c
> 
> Why are these two lines in the changelog text?
> 
My mistake, I thought it is correct to include them, sorry!

> > 
> > Signed-off-by: Lourdes Pedrajas <lu@pplo.net>
> > ---
> >  drivers/staging/vt6655/device_main.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
> > index 0442f71494b2..88e1284a7743 100644
> > --- a/drivers/staging/vt6655/device_main.c
> > +++ b/drivers/staging/vt6655/device_main.c
> > @@ -1075,7 +1075,8 @@ static void vnt_interrupt_process(struct vnt_private *priv)
> >  			    priv->op_mode == NL80211_IFTYPE_ADHOC) &&
> >  			    priv->vif->bss_conf.enable_beacon) {
> >  				MACvOneShotTimer1MicroSec(priv,
> > -							  (priv->vif->bss_conf.beacon_int - MAKE_BEACON_RESERVED) << 10);
> > +					(priv->vif->bss_conf.beacon_int -
> > +					 MAKE_BEACON_RESERVED) << 10);
> 
> Now you have another checkpatch warning :(
> 
> THe original is fine, the line-length is a "strong hint" that sometimes
> needs to be gone over.
> 
> sorry.
> 
> greg k-h

I also had my doubts about this one, thank you for clarifying!

Lourdes.


  reply	other threads:[~2020-03-08 13:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-07 23:06 [PATCH] Staging: vt6655: device_main: cleanup long line Lourdes Pedrajas
2020-03-08  6:50 ` Greg KH
2020-03-08 13:49   ` Lourdes Pedrajas [this message]
2020-03-08 14:50     ` [Outreachy kernel] " Julia Lawall
2020-03-08 15:04       ` Lourdes Pedrajas
     [not found] <20200129001950.12031-1-simon.fong.ref@aol.com>
2020-01-29  0:19 ` Simon Fong
     [not found] <20200128141426.12230-1-simon.fongnt.ref@yahoo.com>
2020-01-28 14:14 ` Simon Fong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200308134915.GA4173@supernova \
    --to=lu@pplo.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.