Patch 1 and 2 fix compilation warnings with gcc 12, leading to kernel compilation failures if CONFIG_WERROR is enabled. Patch 3 complement these fixes to have a consistent code with regard to sas responses. Damien Le Moal (3): scsi: libsas: introduce struct smp_disc_resp scsi: libsas: introduce struct smp_rg_resp scsi: libsas: introduce struct smp_rps_resp drivers/scsi/aic94xx/aic94xx_dev.c | 2 +- drivers/scsi/libsas/sas_expander.c | 67 +++++++++++++----------------- drivers/scsi/libsas/sas_internal.h | 2 +- include/scsi/libsas.h | 2 +- include/scsi/sas.h | 42 +++++++++---------- 5 files changed, 53 insertions(+), 62 deletions(-) -- 2.36.1