mbox series

[0/3] Fix compilation warnings with gcc12

Message ID 20220609022456.409087-1-damien.lemoal@opensource.wdc.com (mailing list archive)
Headers show
Series Fix compilation warnings with gcc12 | expand

Message

Damien Le Moal June 9, 2022, 2:24 a.m. UTC
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(-)

Comments

Martin K. Petersen June 10, 2022, 5:08 p.m. UTC | #1
Damien,

> 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.

Applied to 5.20/scsi-staging, thanks!
Martin K. Petersen June 14, 2022, 2:23 a.m. UTC | #2
On Thu, 9 Jun 2022 11:24:53 +0900, Damien Le Moal wrote:

> 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
> 
> [...]

Applied to 5.20/scsi-queue, thanks!

[1/3] scsi: libsas: introduce struct smp_disc_resp
      https://git.kernel.org/mkp/scsi/c/c3752f44604f
[2/3] scsi: libsas: introduce struct smp_rg_resp
      https://git.kernel.org/mkp/scsi/c/44f2bfe9ef08
[3/3] scsi: libsas: introduce struct smp_rps_resp
      https://git.kernel.org/mkp/scsi/c/3dafe0648ddd