[PATCH 00/11] Rid W=1 warnings from ATA
From: Lee Jones
Date: Fri May 28 2021 - 05:05:23 EST
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 (11):
ata: include: libata: Move fields commonly over-written to separate
MACRO
ata: ahci: Ensure initialised fields are not overwritten in AHCI_SHT()
ata: sata_sil24: Do not over-write initialise fields in 'sil24_sht'
ata: sata_mv: Do not over-write initialise fields in 'mv6_sht'
ata: sata_nv: Do not over-write initialise fields in 'nv_adma_sht' and
'nv_swncq_sht'
ata: pata_atiixp: Avoid overwriting initialised field in 'atiixp_sht'
ata: pata_cs5520: Avoid overwriting initialised field in 'cs5520_sht'
ata: pata_cs5530: Avoid overwriting initialised field in 'cs5530_sht'
ata: pata_sc1200: sc1200_sht'Avoid overwriting initialised field in '
ata: pata_serverworks: Avoid overwriting initialised field in
'serverworks_osb4_sht
ata: pata_macio: Avoid overwriting initialised field in
'pata_macio_sht'
drivers/ata/ahci.h | 7 +++++--
drivers/ata/pata_atiixp.c | 3 ++-
drivers/ata/pata_cs5520.c | 3 ++-
drivers/ata/pata_cs5530.c | 3 ++-
drivers/ata/pata_macio.c | 5 ++++-
drivers/ata/pata_sc1200.c | 3 ++-
drivers/ata/pata_serverworks.c | 3 ++-
drivers/ata/sata_mv.c | 6 +++++-
drivers/ata/sata_nv.c | 10 ++++++++--
drivers/ata/sata_sil24.c | 5 ++++-
include/linux/libata.h | 13 ++++++++-----
11 files changed, 44 insertions(+), 17 deletions(-)
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Cc: ALWAYS copy <linux-ide@xxxxxxxxxxxxxxx>
Cc: Andre Hedrick <andre@xxxxxxxxxxxxx>
Cc: ATI Inc <hyu@xxxxxxx>
Cc: benh@xxxxxxxxxxxxxxxxxxx
Cc: Jens Axboe <axboe@xxxxxxxxx>
Cc: linux-ide@xxxxxxxxxxxxxxx
Cc: Mark Lord <mlord@xxxxxxxxx>
Cc: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
Cc: Tejun Heo <tj@xxxxxxxxxx>
--
2.31.1