From: "René Bolldorf" <xsecute@googlemail.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] drivers/ata/ahci.c warning: comparison between ‘enum <anonymous>’ and ‘enum <anonymous>’
Date: Thu, 18 Mar 2010 23:08:21 +0100 [thread overview]
Message-ID: <4BA2A455.1070303@googlemail.com> (raw)
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");
reply other threads:[~2010-03-18 22:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BA2A455.1070303@googlemail.com \
--to=xsecute@googlemail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.