scsi: core: Add get_{status,host}_byte() accessor functions
authorHannes Reinecke <hare@suse.de>
Tue, 27 Apr 2021 08:30:22 +0000 (10:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Jun 2021 02:48:22 +0000 (22:48 -0400)
commitf6b5a697064900c207876c12af55e176ec83f49e
treef320a7da059006ce8c907384f5f90133de7f1720
parent7b25bdb1c828719a4732600faeaf0ba3f34816e6
scsi: core: Add get_{status,host}_byte() accessor functions

Add accessor functions for the host and status byte.

Link: https://lore.kernel.org/r/20210427083046.31620-17-hare@suse.de
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/scsi/scsi_cmnd.h