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 /lib/locking-selftest-rtmutex.h | |
parent | 45dc8f2d9c94ed74a5e31e63e9136a19a7e16081 (diff) | |
download | linux-a35989a0723c53b0364322e39c7a9495336ff7e6.tar.bz2 |
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 'lib/locking-selftest-rtmutex.h')
0 files changed, 0 insertions, 0 deletions