diff mbox

[06/10] libata-eh: decode all taskfile protocols

Message ID 1468454751-12466-7-git-send-email-hch@lst.de
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Christoph Hellwig July 14, 2016, 12:05 a.m. UTC
From: Hannes Reinecke <hare@suse.de>

Some taskfile protocol values where missing in ata_eh_link_report().

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/ata/libata-eh.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Sergei Shtylyov July 14, 2016, 11:51 a.m. UTC | #1
Hello.

On 7/14/2016 3:05 AM, Christoph Hellwig wrote:

> From: Hannes Reinecke <hare@suse.de>
>
> Some taskfile protocol values where missing in ata_eh_link_report().

    Were -- perhaps Tejun could fix...

>
> Signed-off-by: Hannes Reinecke <hare@suse.de>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tejun Heo July 14, 2016, 2:48 p.m. UTC | #2
On Thu, Jul 14, 2016 at 09:05:47AM +0900, Christoph Hellwig wrote:
> From: Hannes Reinecke <hare@suse.de>
> 
> Some taskfile protocol values where missing in ata_eh_link_report().
> 
> Signed-off-by: Hannes Reinecke <hare@suse.de>
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Applied 5-6 to libata/for-4.8.

For the rest, I'll wait for the response on 4.

Thanks.
Christoph Hellwig July 14, 2016, 11:08 p.m. UTC | #3
On Thu, Jul 14, 2016 at 10:48:09AM -0400, Tejun Heo wrote:
> On Thu, Jul 14, 2016 at 09:05:47AM +0900, Christoph Hellwig wrote:
> > From: Hannes Reinecke <hare@suse.de>
> > 
> > Some taskfile protocol values where missing in ata_eh_link_report().
> > 
> > Signed-off-by: Hannes Reinecke <hare@suse.de>
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
> Applied 5-6 to libata/for-4.8.
> 
> For the rest, I'll wait for the response on 4.

FYI, 8-10 are totally independent of 4.  While 5 kinda depends on 4
to work correctly, but I also don't actually see it in your tree.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 7832e55..5688b86 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -2607,9 +2607,12 @@  static void ata_eh_link_report(struct ata_link *link)
 				[DMA_FROM_DEVICE]	= "in",
 			};
 			static const char *prot_str[] = {
+				[ATA_PROT_UNKNOWN]	= "unknown",
+				[ATA_PROT_NODATA]	= "nodata",
 				[ATA_PROT_PIO]		= "pio",
 				[ATA_PROT_DMA]		= "dma",
 				[ATA_PROT_NCQ]		= "ncq",
+				[ATAPI_PROT_NODATA]	= "nodata",
 				[ATAPI_PROT_PIO]	= "pio",
 				[ATAPI_PROT_DMA]	= "dma",
 			};