[Top] [All Lists]

Re: [PATCH] Fix build in ide-dma.c

Subject: Re: [PATCH] Fix build in ide-dma.c
From: David Daney <>
Date: Mon, 14 Nov 2005 15:05:06 -0800
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc3 (X11/20050929)
David Daney wrote:
When in_drive_list was renamed to ide_in_drive_list, several
occurrences were missed.  This patch allows me to build.

David Daney

I guess I should probably add:

Signed-off-by: David Daney <>

diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -665,7 +665,7 @@ int __ide_dma_bad_drive (ide_drive_t *dr
        struct hd_driveid *id = drive->id;
- int blacklist = in_drive_list(id, drive_blacklist);
+       int blacklist = ide_in_drive_list(id, drive_blacklist);
        if (blacklist) {
                printk(KERN_WARNING "%s: Disabling (U)DMA for %s 
                                    drive->name, id->model);
@@ -679,7 +679,7 @@ EXPORT_SYMBOL(__ide_dma_bad_drive);
 int __ide_dma_good_drive (ide_drive_t *drive)
        struct hd_driveid *id = drive->id;
-       return in_drive_list(id, drive_whitelist);
+       return ide_in_drive_list(id, drive_whitelist);

<Prev in Thread] Current Thread [Next in Thread>