summaryrefslogtreecommitdiff
path: root/sound/pci/via82xx.c
diff options
context:
space:
mode:
authorSergey Samoylenko <s.samoylenko@yadro.com>2021-08-03 17:54:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-08-18 05:28:40 +0300
commit44678553ad7eb59be3092d6677d8d4a00289afda (patch)
tree67b94778206cccd8e635cbb9dff224584eaed2de /sound/pci/via82xx.c
parent5f492a7aa13b4ebf8ca85e818585394053065240 (diff)
downloadlinux-44678553ad7eb59be3092d6677d8d4a00289afda.tar.xz
scsi: target: Allows backend drivers to fail with specific sense codes
Currently, backend drivers can fail I/O with SAM_STAT_CHECK_CONDITION which gets us TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE. Add a new helper that allows backend drivers to fail with specific sense codes. This is based on a patch from Mike Christie <michael.christie@oracle.com>. Cc: Mike Christie <michael.christie@oracle.com> Link: https://lore.kernel.org/r/20210803145410.80147-2-s.samoylenko@yadro.com Reviewed-by: David Disseldorp <ddiss@suse.de> Signed-off-by: Sergey Samoylenko <s.samoylenko@yadro.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'sound/pci/via82xx.c')
0 files changed, 0 insertions, 0 deletions