From: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
To: Damien Le Moal <dlemoal@kernel.org>,
Niklas Cassel <cassel@kernel.org>,
Mikael Pettersson <mikpelinux@gmail.com>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] ata: Consistently define pci_device_ids using named initializers
Date: Fri, 12 Jun 2026 09:35:10 +0200 [thread overview]
Message-ID: <cover.1781248922.git.ukleinek@kernel.org> (raw)
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
next reply other threads:[~2026-06-12 7:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-12 7:35 Uwe Kleine-König (The Capable Hub) [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1781248922.git.ukleinek@kernel.org \
--to=u.kleine-koenig@baylibre.com \
--cc=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpelinux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.