[PATCH 00/18] [Set 3] Rid W=1 warnings in SCSI

From: Lee Jones
Date: Wed Mar 17 2021 - 04:57:51 EST


MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This set contains functional changes.

This set is part of a larger effort attempting to clean-up W=1
kernel builds, which are currently overwhelmingly riddled with
niggly little warnings.

Lee Jones (18):
scsi: aic94xx: aic94xx_dump: Remove code that has been unused for at
least 13 years
scsi: mpt3sas: mpt3sas_scs: Move a little data from the stack onto the
heap
scsi: bfa: bfa_fcs_lport: Move a large struct from the stack onto the
heap
scsi: esas2r: esas2r_log: Supply __printf(x, y) formatting for
esas2r_log_master()
scsi: BusLogic: Supply __printf(x, y) formatting for blogic_msg()
scsi: nsp32: Supply __printf(x, y) formatting for nsp32_message()
scsi: initio: Remove unused variable 'prev'
scsi: a100u2w: Remove unused variable 'bios_phys'
scsi: myrs: Remove a couple of unused 'status' variables
scsi: 3w-xxxx: Remove 2 unused variables 'response_que_value' and
'tw_dev'
scsi: 3w-9xxx: Remove a few set but unused variables
scsi: 3w-sas: Remove unused variables 'sglist' and 'tw_dev'
scsi: nsp32: Remove or exclude unused variables
scsi: FlashPoint: Remove unused variable 'TID' from
'FlashPoint_AbortCCB()'
scsi: sim710: Remove unused variable 'err' from sim710_init()
scsi: isci: port: Make local function 'port_state_name()' static
scsi: isci: remote_device: Make local function
isci_remote_device_wait_for_resume_from_abort() static
scsi: nsp32: Correct expected types in debug print formatting

drivers/scsi/3w-9xxx.c | 14 +-
drivers/scsi/3w-sas.c | 10 +-
drivers/scsi/3w-xxxx.c | 6 +-
drivers/scsi/BusLogic.c | 2 +-
drivers/scsi/FlashPoint.c | 4 -
drivers/scsi/a100u2w.c | 2 -
drivers/scsi/aic94xx/aic94xx_dump.c | 184 ---------------------------
drivers/scsi/bfa/bfa_fcs_lport.c | 20 ++-
drivers/scsi/esas2r/esas2r_log.c | 7 +
drivers/scsi/initio.c | 5 +-
drivers/scsi/isci/port.c | 2 +-
drivers/scsi/isci/remote_device.c | 2 +-
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 38 ++++--
drivers/scsi/myrs.c | 6 +-
drivers/scsi/nsp32.c | 31 ++---
drivers/scsi/sim710.c | 14 +-
16 files changed, 77 insertions(+), 270 deletions(-)

Cc: Adam Radford <aradford@xxxxxxxxx>
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Cc: Andre Hedrick <andre@xxxxxxxx>
Cc: Anil Gurumurthy <anil.gurumurthy@xxxxxxxxxx>
Cc: Artur Paszkiewicz <artur.paszkiewicz@xxxxxxxxx>
Cc: Bas Vermeulen <bvermeul@xxxxxxxxxxxxxxxxxxx>
Cc: Bradley Grove <linuxdrivers@xxxxxxxxxxxx>
Cc: Brian Macy <bmacy@xxxxxxxxxxxxxxxxxxxxx>
Cc: c by <James.Bottomley@xxxxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxx>
Cc: David Chaw <david_chaw@xxxxxxxxxxx>
Cc: de Melo <acme@xxxxxxxxxxxxxxxx>
Cc: Doug Ledford <dledford@xxxxxxxxxx>
Cc: GOTO Masanori <gotom@xxxxxxxxxxxx>
Cc: gotom@xxxxxxxxxx
Cc: Hannes Reinecke <hare@xxxxxxxxxx>
Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxx>
Cc: Joel Jacobson <linux@xxxxxxxxx>
Cc: Khalid Aziz <khalid@xxxxxxxxxxxxxx>
Cc: "Leonard N. Zubkoff" <lnz@xxxxxxxxxxxxx>
Cc: Linux GmbH <hare@xxxxxxxx>
Cc: linux-scsi@xxxxxxxxxxxxxxx
Cc: Luben Tuikov <luben_tuikov@xxxxxxxxxxx>
Cc: "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>
Cc: MPT-FusionLinux.pdl@xxxxxxxxxxxxx
Cc: MPT-FusionLinux.pdl@xxxxxxxxxxxx
Cc: Richard Hirst <richard@xxxxxxxxxxxxxxxxxxx>
Cc: Sathya Prakash <sathya.prakash@xxxxxxxxxxxx>
Cc: Sreekanth Reddy <sreekanth.reddy@xxxxxxxxxxxx>
Cc: Sudarsana Kalluru <sudarsana.kalluru@xxxxxxxxxx>
Cc: Suganath Prabu Subramani <suganath-prabu.subramani@xxxxxxxxxxxx>
Cc: YOKOTA Hiroshi <yokota@xxxxxxxxxxxxxxxxxxxxxxx>
--
2.27.0