Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1973a023a616b40ba33fd0d38b1055c62c88e73d
Commit:     1973a023a616b40ba33fd0d38b1055c62c88e73d
Parent:     40f46f17819c2d199f99addc3278ff2eb11f3cd5
Author:     Tejun Heo <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 5 10:36:13 2007 +0900
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Jan 23 05:24:13 2008 -0500

    libata: convert NCQ test in ata_qc_issue() to ata_is_ncq()
    
    I missed one while converting to ata_is_*() protocol test helpers.
    Convert it.  Pointed out by Jeff Garzik.
    
    Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/ata/libata-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index f01c173..2b57547 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -5990,7 +5990,7 @@ void ata_qc_issue(struct ata_queued_cmd *qc)
         */
        WARN_ON(ap->ops->error_handler && ata_tag_valid(link->active_tag));
 
-       if (prot == ATA_PROT_NCQ) {
+       if (ata_is_ncq(prot)) {
                WARN_ON(link->sactive & (1 << qc->tag));
 
                if (!link->sactive)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to