aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@trik.(none)>2005-01-15 04:31:51 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@trik.(none)>2005-01-15 04:31:51 +0100
commite25052978c5dc5b70cd0dea885715ee3920a2418 (patch)
tree736f7820ce5be20d51336a10defc68ca55caffac /drivers
parent585b441136ff4fc69159edeca702bcccdcf83af4 (diff)
downloadhistory-e25052978c5dc5b70cd0dea885715ee3920a2418.tar.gz
[ide] suppress output of error messages for non-existant interfaces
From: Prarit Bhargava <prarit@sgi.com> Suppress output of "Wait for ready failed before probe !" messages for non-existant interfaces. Please see http://marc.theaimsgroup.com/?l=linux-ide&m=110553792013649&w=2 for further context on this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index d0ffc54b662525..048548322264c7 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -749,7 +749,7 @@ static void probe_hwif(ide_hwif_t *hwif)
*
* BenH.
*/
- if (wait_hwif_ready(hwif))
+ if (wait_hwif_ready(hwif) == -EBUSY)
printk(KERN_DEBUG "%s: Wait for ready failed before probe !\n", hwif->name);
/*