]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: libsas: Introduce struct smp_rps_resp
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 9 Jun 2022 02:24:56 +0000 (11:24 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 10 Jun 2022 17:08:06 +0000 (13:08 -0400)
commit0bfa4e41554c63b0e4708a3ae17763d6edcb5558
tree2848a1c20c82225e57799eb70f0e076ab1b4cc8b
parent9e66f01521c7a012c87c23f75ec78f74d00eb846
scsi: libsas: Introduce struct smp_rps_resp

Similarly to sas report general and discovery responses, define the
structure struct smp_rps_resp to handle SATA PHY report responses using a
structure with a size that is exactly equal to the sas defined response
size.

With this change, struct smp_resp becomes unused and is removed.

Link: https://lore.kernel.org/r/20220609022456.409087-4-damien.lemoal@opensource.wdc.com
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aic94xx/aic94xx_dev.c
drivers/scsi/libsas/sas_expander.c
drivers/scsi/libsas/sas_internal.h
include/scsi/libsas.h
include/scsi/sas.h