diff options
author | Xingui Yang <yangxingui@huawei.com> | 2025-02-20 12:00:11 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-03-18 05:04:21 +0300 |
commit | 750d4fbe2c20e65d764c70afe2c9e6cfa874b044 (patch) | |
tree | cafb1e12cfeb8e880fe729b307ef90ea1f833f72 /rust/helpers/helpers.c | |
parent | bd067766ee2aeb35589ad74d599b0e6311f68c73 (diff) | |
download | linux-750d4fbe2c20e65d764c70afe2c9e6cfa874b044.tar.xz |
scsi: hisi_sas: Fixed failure to issue vendor specific commands
At present, we determine the protocol through the cmd type, but other cmd
types, such as vendor-specific commands, default to the PIO protocol. This
strategy often causes the execution of different vendor-specific commands
to fail. In fact, for these commands, a better way is to use the protocol
configured by the command's tf to determine its protocol.
Fixes: 6f2ff1a1311e ("hisi_sas: add v2 path to send ATA command")
Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Link: https://lore.kernel.org/r/20250220090011.313848-1-liyihang9@huawei.com
Reviewed-by: Yihang Li <liyihang9@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions