diff mbox

[3/6] libata: Fix comment typo in ata_eh_analyze_tf()

Message ID 20180301194024.25532-4-damien.lemoal@wdc.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Damien Le Moal March 1, 2018, 7:40 p.m. UTC
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
---
 drivers/ata/libata-eh.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Hannes Reinecke March 2, 2018, 7:32 a.m. UTC | #1
On 03/01/2018 08:40 PM, Damien Le Moal wrote:
> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
> ---
>  drivers/ata/libata-eh.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
> index 504272b18e75..d6264235c3d7 100644
> --- a/drivers/ata/libata-eh.c
> +++ b/drivers/ata/libata-eh.c
> @@ -1865,10 +1865,10 @@ static unsigned int ata_eh_analyze_tf(struct ata_queued_cmd *qc,
>  	if (qc->flags & ATA_QCFLAG_SENSE_VALID) {
>  		int ret = scsi_check_sense(qc->scsicmd);
>  		/*
> -		 * SUCCESS here means that the sense code could
> +		 * SUCCESS here means that the sense code could be
>  		 * evaluated and should be passed to the upper layers
>  		 * for correct evaluation.
> -		 * FAILED means the sense code could not interpreted
> +		 * FAILED means the sense code could not be interpreted
>  		 * and the device would need to be reset.
>  		 * NEEDS_RETRY and ADD_TO_MLQUEUE means that the
>  		 * command would need to be retried.
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
diff mbox

Patch

diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 504272b18e75..d6264235c3d7 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -1865,10 +1865,10 @@  static unsigned int ata_eh_analyze_tf(struct ata_queued_cmd *qc,
 	if (qc->flags & ATA_QCFLAG_SENSE_VALID) {
 		int ret = scsi_check_sense(qc->scsicmd);
 		/*
-		 * SUCCESS here means that the sense code could
+		 * SUCCESS here means that the sense code could be
 		 * evaluated and should be passed to the upper layers
 		 * for correct evaluation.
-		 * FAILED means the sense code could not interpreted
+		 * FAILED means the sense code could not be interpreted
 		 * and the device would need to be reset.
 		 * NEEDS_RETRY and ADD_TO_MLQUEUE means that the
 		 * command would need to be retried.