linux-stable/drivers/scsi/isci
John Garry 1d6049a3b1 scsi: libsas: Use enum for response frame DATAPRES field
As defined in table 126 of the SAS spec 1.1, use an enum for the DATAPRES
field, which makes reading the code easier.

Also change sas_ssp_task_response() to use a switch statement, which is
more suitable (than if-else), as suggested by Christoph.

Link: https://lore.kernel.org/r/1645112566-115804-3-git-send-email-john.garry@huawei.com
Suggested-by: Xiang Chen <chenxiang66@hisilicon.com>
Tested-by: Yihang Li <liyihang6@hisilicon.com>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-02-19 15:59:34 -05:00
..
host.c scsi: isci: host: Fix bunch of kernel-doc related issues 2021-03-18 23:41:07 -04:00
host.h
init.c scsi: isci: Switch to attribute groups 2021-10-16 21:45:56 -04:00
isci.h scsi: isci: Use true, false for bool variables 2020-04-24 18:21:15 -04:00
Makefile
phy.c scsi: isci: phy: Provide function name and demote non-conforming header 2021-03-18 23:41:07 -04:00
phy.h scsi: isci: Remove unnecessary struct declaration 2021-04-13 01:39:12 -04:00
port.c scsi: isci: port: Fix a bunch of kernel-doc issues 2021-03-18 23:41:08 -04:00
port.h
port_config.c scsi: isci: port_config: Fix a bunch of doc-rot and demote abuses 2021-03-18 23:41:07 -04:00
probe_roms.c
probe_roms.h
registers.h
remote_device.c scsi: isci: remote_device: Fix a bunch of doc-rot issues 2021-03-18 23:41:07 -04:00
remote_device.h
remote_node_context.c scsi: isci: remote_node_context: Demote kernel-doc abuse 2021-03-18 23:41:08 -04:00
remote_node_context.h
remote_node_table.c scsi: isci: remote_node_table: Provide some missing params and remove others 2021-03-18 23:41:08 -04:00
remote_node_table.h scsi: isci: Fix a typo in a comment 2020-10-07 23:50:04 -04:00
request.c scsi: libsas: Use enum for response frame DATAPRES field 2022-02-19 15:59:34 -05:00
request.h scsi: isci: Drop SAS_TASK_AT_INITIATOR check in isci_task_abort_task() 2022-02-11 16:59:57 -05:00
sas.h scsi: Replace zero-length array with flexible-array member 2020-03-11 23:07:56 -04:00
scu_completion_codes.h
scu_event_codes.h
scu_remote_node_context.h
scu_task_context.h
task.c scsi: libsas: Drop SAS_TASK_AT_INITIATOR 2022-02-11 17:02:50 -05:00
task.h scsi: isci: Remove a declaration 2021-10-16 21:31:44 -04:00
unsolicited_frame_control.c
unsolicited_frame_control.h