All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] drivers/ata/ahci.c warning: comparison between ‘enum <anonymous>’ and ‘enum <anonymous>’
@ 2010-03-18 22:08 René Bolldorf
  0 siblings, 0 replies; only message in thread
From: René Bolldorf @ 2010-03-18 22:08 UTC (permalink / raw)
  To: linux-kernel

Signed-off-by: Rene Bolldorf <xsecute@googlemail.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");

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-18 22:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 22:08 [PATCH 0/5] drivers/ata/ahci.c warning: comparison between ‘enum <anonymous>’ and ‘enum <anonymous>’ René Bolldorf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.