From: Greg KH <greg@kroah.com>
To: Joe Perches <joe@perches.com>
Cc: adam.latham@unisontorbay.org.uk, devel@driverdev.osuosl.org,
Jiri Kosina <jkosina@suse.cz>,
Greg Kroah-Hartman <gregkh@suse.de>,
Andrew Elwell <Andrew.Elwell@gmail.com>,
linux-kernel@vger.kernel.org, Svenne Krap <svenne@krap.dk>
Subject: Re: Patch for wlan-ng/hfa384x_usb.c
Date: Tue, 4 May 2010 08:49:14 -0700 [thread overview]
Message-ID: <20100504154914.GA24737@kroah.com> (raw)
In-Reply-To: <1272915210.30040.164.camel@Joe-Laptop.home>
On Mon, May 03, 2010 at 12:33:30PM -0700, Joe Perches wrote:
> On Mon, 2010-05-03 at 19:30 +0100, Adam Latham wrote:
> > Subject: [PATCH] Staging: wlan-ng: fix various whitespace and 80 char issues in hfa384x_usb.c
> > This is a patch to fix various whitespace and 80 character style issues found by checkpatch.pl tool
> > Signed-off-by: Adam Latham <adam.latham@unisontorbay.org.uk>
>
> Hi Adam.
>
> > diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
> > index 5df56f0..b7a319f 100644
> > --- a/drivers/staging/wlan-ng/hfa384x_usb.c
> > +++ b/drivers/staging/wlan-ng/hfa384x_usb.c
> []
> > @@ -451,7 +451,7 @@ static void hfa384x_usb_defer(struct work_struct *data)
> > if (test_bit(WORK_RX_HALT, &hw->usb_flags)) {
> > int ret;
> >
> > - usb_kill_urb(&hw->rx_urb); /* Cannot be holding spinlock! */
> > + usb_kill_urb(&hw->rx_urb); /* Cannot be holding spinlock!*/
>
> It's most common to use a space before the trailing */
Yes, move the comment up a line to fix the "line too long" issue.
> > @@ -2619,7 +2619,7 @@ int hfa384x_drvr_start(hfa384x_t *hw)
> > pr_debug("First cmd_initialize() failed (result %d),\n",
> > result1);
> > pr_debug
> > - ("but second attempt succeeded. All should be ok\n");
> > + ("but second attempt succeeded.All should be ok\n");
>
> Removing the space after a period here is not an improvement.
Agreed, don't worry about too-long lines in print statements.
thanks,
greg k-h
prev parent reply other threads:[~2010-05-04 16:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 18:30 Adam Latham
2010-05-03 19:33 ` Joe Perches
2010-05-04 15:49 ` Greg KH [this message]
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=20100504154914.GA24737@kroah.com \
--to=greg@kroah.com \
--cc=Andrew.Elwell@gmail.com \
--cc=adam.latham@unisontorbay.org.uk \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=jkosina@suse.cz \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=svenne@krap.dk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®