]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/2.6.27.36/pcnet_cs-fix-misuse-of-the-equality-operator.patch
Remove duplicated commits
[thirdparty/kernel/stable-queue.git] / releases / 2.6.27.36 / pcnet_cs-fix-misuse-of-the-equality-operator.patch
1 From a9d3a146923d374b945aa388dc884df69564a818 Mon Sep 17 00:00:00 2001
2 From: Cord Walter <qord@cwalter.net>
3 Date: Tue, 3 Feb 2009 15:14:05 -0800
4 Subject: pcnet_cs: Fix misuse of the equality operator.
5
6 From: Cord Walter <qord@cwalter.net>
7
8 commit a9d3a146923d374b945aa388dc884df69564a818 upstream.
9
10 Signed-off-by: Cord Walter <qord@cwalter.net>
11 Signed-off-by: Komuro <komurojun-mbn@nifty.com>
12 Signed-off-by: David S. Miller <davem@davemloft.net>
13 Cc: Christoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de>
14 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15
16 ---
17 drivers/net/pcmcia/pcnet_cs.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 --- a/drivers/net/pcmcia/pcnet_cs.c
21 +++ b/drivers/net/pcmcia/pcnet_cs.c
22 @@ -591,7 +591,7 @@ static int pcnet_config(struct pcmcia_de
23 }
24
25 if ((link->conf.ConfigBase == 0x03c0)
26 - && (link->manf_id == 0x149) && (link->card_id = 0xc1ab)) {
27 + && (link->manf_id == 0x149) && (link->card_id == 0xc1ab)) {
28 printk(KERN_INFO "pcnet_cs: this is an AX88190 card!\n");
29 printk(KERN_INFO "pcnet_cs: use axnet_cs instead.\n");
30 goto failed;