]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba0949dbe2c98a5bd856ced8d1bea969f54b9995
treeea9a2e0da372e7ac2393d601d0a6d4830b16826b
parent1b2990fea9f811295fa2306fb1bcc91ee9044088
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