[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4BA2A455.1070303@googlemail.com>
Date: Thu, 18 Mar 2010 23:08:21 +0100
From: René Bolldorf <xsecute@...glemail.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH 0/5] drivers/ata/ahci.c warning: comparison between ‘enum <anonymous>’ and ‘enum <anonymous>’
Signed-off-by: Rene Bolldorf <xsecute@...glemail.com>
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 108f2c6..f17b114 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -998,7 +998,7 @@ static int ahci_init_one(struct pci_dev *pdev, const
struct pci_device_id *ent)
VPRINTK("ENTER\n");
- WARN_ON(ATA_MAX_QUEUE > AHCI_MAX_CMDS);
+ WARN_ON(ATA_MAX_QUEUE >= AHCI_MAX_CMDS);
if (!printed_version++)
dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n");
--
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