diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2019-11-25 16:05:18 +0900 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-11-26 21:43:22 -0500 |
commit | a35989a0723c53b0364322e39c7a9495336ff7e6 (patch) | |
tree | e1358f48115b8c9e052bada6eac2ba47b094130e /drivers/scsi/megaraid/megaraid_sas_base.c | |
parent | scsi: qla2xxx: Fix qla2x00_request_irqs() for MSI (diff) | |
download | linux-dev-a35989a0723c53b0364322e39c7a9495336ff7e6.tar.xz linux-dev-a35989a0723c53b0364322e39c7a9495336ff7e6.zip |
scsi: sd_zbc: Improve report zones error printout
In the case of a report zones command failure, instead of simply printing
the host_byte and driver_byte values returned, print a message that is more
human readable and useful, adding sense codes too.
To do so, use the already defined sd_print_sense_hdr() and
sd_print_result() functions by moving the declaration of these functions
into sd.h.
Link: https://lore.kernel.org/r/20191125070518.951717-1-damien.lemoal@wdc.com
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions