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)
commit3dafe0648ddd9c40666069e90b8a8a6162c452aa
tree2848a1c20c82225e57799eb70f0e076ab1b4cc8b
parent44f2bfe9ef082f76184d4a048c995729d14ec45d
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