scsi: core: Add DID_ALLOC_FAILURE and DID_MEDIUM_ERROR to hostbyte_table
authorNikhil Kshirsagar <nkshirsa@redhat.com>
Wed, 1 Apr 2020 03:55:00 +0000 (09:25 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Apr 2020 02:03:04 +0000 (22:03 -0400)
commit1b55940b9bcc64acb7336224b0e49203ff7987c6
treeea9a2e0da372e7ac2393d601d0a6d4830b16826b
parent6a9df8185720bdf93a893d7478d43db7fbe15473
scsi: core: Add DID_ALLOC_FAILURE and DID_MEDIUM_ERROR to hostbyte_table

Since DID_ALLOC_FAILURE and DID_MEDIUM_ERROR are missing from the
hostbyte_table, scsi debug logging prints their numeric values only.
Adding them to the hostbyte_table to allow the scsi debug log to print
those as strings.

Link: https://lore.kernel.org/r/CAMNNMLFtQOHsjWUMs+q_+z9XqQYZmR34ewoB-5LrCpzGp1Ppkw@mail.gmail.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nikhil Kshirsagar <nkshirsa@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/constants.c