diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@trik.(none)> | 2005-01-15 04:31:51 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@trik.(none)> | 2005-01-15 04:31:51 +0100 |
commit | e25052978c5dc5b70cd0dea885715ee3920a2418 (patch) | |
tree | 736f7820ce5be20d51336a10defc68ca55caffac /drivers | |
parent | 585b441136ff4fc69159edeca702bcccdcf83af4 (diff) | |
download | history-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.c | 2 |
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); /* |