diff options
author | Hannes Reinecke <hare@suse.de> | 2021-04-27 11:30:14 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-01 05:48:21 +0300 |
commit | d0672a03e0af5dd4b07dc9175b38e44290722192 (patch) | |
tree | d7b4890299d7b8ea026d14ed7775468acf3d30fe /drivers/usb/roles | |
parent | f2b1e9c6f867ec8f929e96ba4e4010e267587448 (diff) | |
download | linux-d0672a03e0af5dd4b07dc9175b38e44290722192.tar.xz |
scsi: core: Introduce scsi_status_is_check_condition()
Add a helper function scsi_status_is_check_condition() to encapsulate the
frequent checks for SAM_STAT_CHECK_CONDITION.
Link: https://lore.kernel.org/r/20210427083046.31620-9-hare@suse.de
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>
Diffstat (limited to 'drivers/usb/roles')
0 files changed, 0 insertions, 0 deletions