]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
another .27 patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Oct 2009 15:21:20 +0000 (08:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Oct 2009 15:21:20 +0000 (08:21 -0700)
queue-2.6.27/pcnet_cs-fix-misuse-of-the-equality-operator.patch [new file with mode: 0644]
queue-2.6.27/series

diff --git a/queue-2.6.27/pcnet_cs-fix-misuse-of-the-equality-operator.patch b/queue-2.6.27/pcnet_cs-fix-misuse-of-the-equality-operator.patch
new file mode 100644 (file)
index 0000000..df47d2e
--- /dev/null
@@ -0,0 +1,30 @@
+From a9d3a146923d374b945aa388dc884df69564a818 Mon Sep 17 00:00:00 2001
+From: Cord Walter <qord@cwalter.net>
+Date: Tue, 3 Feb 2009 15:14:05 -0800
+Subject: pcnet_cs: Fix misuse of the equality operator.
+
+From: Cord Walter <qord@cwalter.net>
+
+commit a9d3a146923d374b945aa388dc884df69564a818 upstream.
+
+Signed-off-by: Cord Walter <qord@cwalter.net>
+Signed-off-by: Komuro <komurojun-mbn@nifty.com>
+Signed-off-by: David S. Miller <davem@davemloft.net>
+Cc: Christoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/net/pcmcia/pcnet_cs.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/net/pcmcia/pcnet_cs.c
++++ b/drivers/net/pcmcia/pcnet_cs.c
+@@ -591,7 +591,7 @@ static int pcnet_config(struct pcmcia_de
+     }
+     if ((link->conf.ConfigBase == 0x03c0)
+-      && (link->manf_id == 0x149) && (link->card_id = 0xc1ab)) {
++      && (link->manf_id == 0x149) && (link->card_id == 0xc1ab)) {
+       printk(KERN_INFO "pcnet_cs: this is an AX88190 card!\n");
+       printk(KERN_INFO "pcnet_cs: use axnet_cs instead.\n");
+       goto failed;
index 4b10cceeffb2dd92b23a9dd6c31512e44bd62831..0b31a0095f85fc86b2bbebb23293ef6dcee921dc 100644 (file)
@@ -1,3 +1,4 @@
 fs-make-sure-data-stored-into-inode-is-properly-seen-before-unlocking-new-inode.patch
 p54usb-add-zcomax-xg-705a-usbid.patch
 enc28j60-fix-rx-buffer-overflow.patch
+pcnet_cs-fix-misuse-of-the-equality-operator.patch