2009-04-08 16:25:41

by Vegard Nossum

[permalink] [raw]
Subject: [PATCH] ata: fix obviously wrong comment

>From 776d93d1e11ff79ed2693541b0663dbb2ffa3aee Mon Sep 17 00:00:00 2001
From: Vegard Nossum <[email protected]>
Date: Wed, 8 Apr 2009 18:19:39 +0200
Subject: [PATCH] ata: fix obviously wrong comment

Also remove the now-useless debug printouts which are supposed to
tell us when the scan starts and ends.

Signed-off-by: Vegard Nossum <[email protected]>
---
drivers/ata/libata-core.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index e7ea77c..065507c 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -6110,13 +6110,11 @@ int ata_host_register(struct ata_host *host, struct scsi_host_template *sht)
ata_port_printk(ap, KERN_INFO, "DUMMY\n");
}

- /* perform each probe synchronously */
- DPRINTK("probe begin\n");
+ /* perform each probe asynchronously */
for (i = 0; i < host->n_ports; i++) {
struct ata_port *ap = host->ports[i];
async_schedule(async_port_probe, ap);
}
- DPRINTK("probe end\n");

return 0;
}
--
1.6.0.6


2009-04-13 08:27:38

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH] ata: fix obviously wrong comment

Vegard Nossum wrote:
>>From 776d93d1e11ff79ed2693541b0663dbb2ffa3aee Mon Sep 17 00:00:00 2001
> From: Vegard Nossum <[email protected]>
> Date: Wed, 8 Apr 2009 18:19:39 +0200
> Subject: [PATCH] ata: fix obviously wrong comment
>
> Also remove the now-useless debug printouts which are supposed to
> tell us when the scan starts and ends.
>
> Signed-off-by: Vegard Nossum <[email protected]>
> ---
> drivers/ata/libata-core.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)

applied