Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ata: Consistently define pci_device_ids using named initializers
@ 2026-06-12  7:35 Uwe Kleine-König (The Capable Hub)
  2026-06-12  7:35 ` [PATCH v2 1/2] ata: Drop unused assignments of pci_device_id driver data Uwe Kleine-König (The Capable Hub)
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Uwe Kleine-König (The Capable Hub) @ 2026-06-12  7:35 UTC (permalink / raw)
  To: Damien Le Moal, Niklas Cassel, Mikael Pettersson; +Cc: linux-ide, linux-kernel

Hello,

(implicit) v1 of this series can be found at
https://lore.kernel.org/linux-ide/20260430170612.510869-2-u.kleine-koenig@baylibre.com

Damien asked to rework the patch adding more line breaks to make the
resulting lines shorter. I didn't rewrap all arrays, only those that
appeared too long to me; the longest line I kept is:

+	{ PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA3), .driver_data = GENERIC },

which is short enough to not trigger a checkpatch warning.

I also split the patch in two, in the first patch there are all hunks
that remove explicit assignments of zero, that are not used in the
respective drivers. That doesn't introduce changes to the resulting binary,
because the compiler fills in these zeros.

I didn't add the Reviewed-by: tag for Damien because I'm not completely
sure that the rework really matches what he intended and I did some more
changes.

Best regards
Uwe

Uwe Kleine-König (The Capable Hub) (2):
  ata: Drop unused assignments of pci_device_id driver data
  ata: Use named initializers for pci_device_id arrays

 drivers/ata/acard-ahci.c        |    8 +-
 drivers/ata/ahci.c              | 1626 ++++++++++++++++++++++++-------
 drivers/ata/ata_piix.c          |  532 ++++++----
 drivers/ata/pata_acpi.c         |    5 +-
 drivers/ata/pata_amd.c          |   88 +-
 drivers/ata/pata_artop.c        |   11 +-
 drivers/ata/pata_atp867x.c      |    6 +-
 drivers/ata/pata_cmd640.c       |    4 +-
 drivers/ata/pata_cmd64x.c       |   11 +-
 drivers/ata/pata_jmicron.c      |    7 +-
 drivers/ata/pata_macio.c        |   12 +-
 drivers/ata/pata_ninja32.c      |   14 +-
 drivers/ata/pata_opti.c         |    7 +-
 drivers/ata/pata_pdc2027x.c     |   15 +-
 drivers/ata/pata_pdc202xx_old.c |   13 +-
 drivers/ata/pata_sch.c          |    2 +-
 drivers/ata/pata_serverworks.c  |   13 +-
 drivers/ata/pata_sis.c          |    1 -
 drivers/ata/pata_via.c          |   19 +-
 drivers/ata/pdc_adma.c          |    3 +-
 drivers/ata/sata_mv.c           |   34 +-
 drivers/ata/sata_nv.c           |   29 +-
 drivers/ata/sata_promise.c      |   34 +-
 drivers/ata/sata_qstor.c        |    3 +-
 drivers/ata/sata_sil.c          |   15 +-
 drivers/ata/sata_sil24.c        |   15 +-
 drivers/ata/sata_sis.c          |   12 +-
 drivers/ata/sata_svw.c          |   15 +-
 drivers/ata/sata_sx4.c          |    3 +-
 drivers/ata/sata_uli.c          |    7 +-
 drivers/ata/sata_via.c          |   17 +-
 drivers/ata/sata_vsc.c          |   14 +-
 32 files changed, 1870 insertions(+), 725 deletions(-)


base-commit: abe651837cb394f76d738a7a747322fca3bf17ba
-- 
2.47.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-12 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-12  7:35 [PATCH v2 0/2] ata: Consistently define pci_device_ids using named initializers Uwe Kleine-König (The Capable Hub)
2026-06-12  7:35 ` [PATCH v2 1/2] ata: Drop unused assignments of pci_device_id driver data Uwe Kleine-König (The Capable Hub)
2026-06-12  7:35 ` [PATCH v2 2/2] ata: Use named initializers for pci_device_id arrays Uwe Kleine-König (The Capable Hub)
2026-06-12  7:42 ` [PATCH v2 0/2] ata: Consistently define pci_device_ids using named initializers Damien Le Moal
2026-06-12 10:58   ` Niklas Cassel
2026-06-12 11:52     ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox