From: Greg Kroah-Hartman Date: Thu, 1 Oct 2009 15:21:20 +0000 (-0700) Subject: another .27 patch X-Git-Tag: v2.6.27.36~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d100b8aab4451c78f1fb951675f1840d976414cb;p=thirdparty%2Fkernel%2Fstable-queue.git another .27 patch --- 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 index 00000000000..df47d2e53e9 --- /dev/null +++ b/queue-2.6.27/pcnet_cs-fix-misuse-of-the-equality-operator.patch @@ -0,0 +1,30 @@ +From a9d3a146923d374b945aa388dc884df69564a818 Mon Sep 17 00:00:00 2001 +From: Cord Walter +Date: Tue, 3 Feb 2009 15:14:05 -0800 +Subject: pcnet_cs: Fix misuse of the equality operator. + +From: Cord Walter + +commit a9d3a146923d374b945aa388dc884df69564a818 upstream. + +Signed-off-by: Cord Walter +Signed-off-by: Komuro +Signed-off-by: David S. Miller +Cc: Christoph Biedl +Signed-off-by: Greg Kroah-Hartman + +--- + 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; diff --git a/queue-2.6.27/series b/queue-2.6.27/series index 4b10cceeffb..0b31a0095f8 100644 --- a/queue-2.6.27/series +++ b/queue-2.6.27/series @@ -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