From: <gregkh@suse.de>
To: roel.kluin@gmail.com, akpm@linux-foundation.org, gregkh@suse.de,
linux-kernel@vger.kernel.org
Subject: patch staging-rtl8192su-fix-test-for-negative-error-in-rtl8192_rx_isr.patch added to gregkh-2.6 tree
Date: Fri, 18 Dec 2009 11:33:51 -0800 [thread overview]
Message-ID: <12611648311917@kroah.org> (raw)
In-Reply-To: <4B06EA21.1010405@gmail.com>
This is a note to let you know that I've just added the patch titled
Subject: Staging: rtl8192su: fix test for negative error in rtl8192_rx_isr()
to my gregkh-2.6 tree. Its filename is
staging-rtl8192su-fix-test-for-negative-error-in-rtl8192_rx_isr.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From roel.kluin@gmail.com Fri Dec 18 10:10:01 2009
From: Roel Kluin <roel.kluin@gmail.com>
Date: Fri, 20 Nov 2009 20:12:33 +0100
Subject: Staging: rtl8192su: fix test for negative error in rtl8192_rx_isr()
To: Greg Kroah-Hartman <gregkh@suse.de>, devel@driverdev.osuosl.org, Andrew Morton <akpm@linux-foundation.org>, LKML <linux-kernel@vger.kernel.org>, bzolnier@gmail.com
Message-ID: <4B06EA21.1010405@gmail.com>
The error tested for is negative
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/staging/rtl8192su/r8192U_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/staging/rtl8192su/r8192U_core.c
+++ b/drivers/staging/rtl8192su/r8192U_core.c
@@ -1501,7 +1501,7 @@ static void rtl8192_rx_isr(struct urb *u
urb->context = skb;
skb_queue_tail(&priv->rx_queue, skb);
err = usb_submit_urb(urb, GFP_ATOMIC);
- if(err && err != EPERM)
+ if(err && err != -EPERM)
printk("can not submit rxurb, err is %x,URB status is %x\n",err,urb->status);
}
prev parent reply other threads:[~2009-12-18 19:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-20 19:12 [PATCH] r8192U_core: test for negative error in rtl8192_rx_isr()? Roel Kluin
2009-12-18 19:33 ` gregkh [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=12611648311917@kroah.org \
--to=gregkh@suse.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=roel.kluin@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox