From: Greg KH <greg@kroah.com>
To: "Toralf Förster" <toralf.foerster@gmx.de>
Cc: gregkh@suse.de, haiyangz@microsoft.com, hjanssen@microsoft.com,
linux-kernel@vger.kernel.org
Subject: Re: Staging: hv: netvsc_drv.c: no assignment within if + whitespace clean up
Date: Wed, 2 Mar 2011 16:00:20 -0500 [thread overview]
Message-ID: <20110302210020.GA20485@kroah.com> (raw)
In-Reply-To: <1299087367-7580-1-git-send-email-toralf.foerster@gmx.de>
On Wed, Mar 02, 2011 at 06:36:07PM +0100, Toralf Förster wrote:
> This patch fixes all complaints of checkpatch.pl.
>
> Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
> ---
> drivers/staging/hv/netvsc_drv.c | 8 +++++---
> 1 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c
> index b41c964..2f3a9e9 100644
> --- a/drivers/staging/hv/netvsc_drv.c
> +++ b/drivers/staging/hv/netvsc_drv.c
> @@ -126,8 +126,9 @@ static void netvsc_xmit_completion(void *context)
>
> dev_kfree_skb_any(skb);
>
> - if ((net_device_ctx->avail += num_pages) >= PACKET_PAGES_HIWATER)
> - netif_wake_queue(net);
> + net_device_ctx->avail += num_pages;
> + if (net_device_ctx->avail >= PACKET_PAGES_HIWATER)
> + netif_wake_queue(net);
This fix is already in the linux-next tree, what tree did you diff this
against?
You can't make staging tree cleanups against Linus's tree, sorry, they
need to be against linux-next in order to properly get all of the
pending patches already queued up.
thanks,
greg k-h
prev parent reply other threads:[~2011-03-02 20:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-02 17:36 [PATCH] ./drivers/staging/hv/netvsc_drv.c: no assignment within if + whitespace clean up Toralf Förster
2011-03-02 21:00 ` 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=20110302210020.GA20485@kroah.com \
--to=greg@kroah.com \
--cc=gregkh@suse.de \
--cc=haiyangz@microsoft.com \
--cc=hjanssen@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=toralf.foerster@gmx.de \
/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