lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 18 Dec 2009 11:33:51 -0800
From:	<gregkh@...e.de>
To:	roel.kluin@...il.com, akpm@...ux-foundation.org, gregkh@...e.de,
	linux-kernel@...r.kernel.org
Subject: patch staging-rtl8192su-fix-test-for-negative-error-in-rtl8192_rx_isr.patch added to gregkh-2.6 tree


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@...il.com  Fri Dec 18 10:10:01 2009
From: Roel Kluin <roel.kluin@...il.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@...e.de>, devel@...verdev.osuosl.org, Andrew Morton <akpm@...ux-foundation.org>, LKML <linux-kernel@...r.kernel.org>, bzolnier@...il.com
Message-ID: <4B06EA21.1010405@...il.com>


The error tested for is negative

Signed-off-by: Roel Kluin <roel.kluin@...il.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.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);
 }
 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ