From: "Uwe Kleine-König (The Capable Hub)" <u.kleine-koenig@baylibre.com>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Richard Cochran <richardcochran@gmail.com>,
Marco Crivellari <marco.crivellari@suse.com>,
Randy Dunlap <rdunlap@infradead.org>,
Yonglong Liu <liuyonglong@huawei.com>,
Kees Cook <kees@kernel.org>,
linux-wireless@vger.kernel.org, Ian Lin <ian.lin@infineon.com>,
brcm80211@lists.linux.dev, Daniele Venzano <venza@brownhat.org>,
Eric Dumazet <edumazet@google.com>,
netdev@vger.kernel.org, Tony Nguyen <anthony.l.nguyen@intel.com>,
MD Danish Anwar <danishanwar@ti.com>,
Samuel Chessman <chessman@tux.org>,
Fan Gong <gongfan1@huawei.com>,
Mengyuan Lou <mengyuanlou@net-swift.com>,
Kevin Curtis <kevin.curtis@farsite.co.uk>,
Ingo Molnar <mingo@kernel.org>,
Michael Grzeschik <mgr@kernel.org>,
Ion Badulescu <ionut@badula.org>,
Yeounsu Moon <yyyynoom@gmail.com>,
Manish Chopra <manishc@marvell.com>,
Colin Ian King <colin.i.king@gmail.com>,
Przemek Kitszel <przemyslaw.kitszel@intel.com>,
Thomas Fourier <fourier.thomas@gmail.com>,
Aleksandr Loktionov <aleksandr.loktionov@intel.com>,
Denis Kirjanov <kirjanov@gmail.com>,
intel-wired-lan@lists.osuosl.org, linux-parisc@vger.kernel.org,
Jacob Keller <jacob.e.keller@intel.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Steffen Klassert <klassert@kernel.org>,
Stanislav Yakovlev <stas.yakovlev@gmail.com>,
linux-rdma@vger.kernel.org,
Arend van Spriel <arend.vanspriel@broadcom.com>,
nic_swsd@realtek.com, Jiri Pirko <jiri@resnulli.us>,
Ethan Nelson-Moore <enelsonmoore@gmail.com>,
Larysa Zaremba <larysa.zaremba@intel.com>,
Ido Schimmel <idosch@nvidia.com>,
Potnuri Bharat Teja <bharat@chelsio.com>,
Double Lo <double.lo@cypress.com>,
Markus Schneider-Pargmann <msp@baylibre.com>,
Nathan Chancellor <nathan@kernel.org>,
Jiawen Wu <jiawenwu@trustnetic.com>,
Cai Huoqing <cai.huoqing@linux.dev>,
Bjorn Helgaas <bhelgaas@google.com>,
Zilin Guan <zilin@seu.edu.cn>,
linux-can@vger.kernel.org, Yibo Dong <dong100@mucse.com>,
Andy Shevchenko <andriy.shevchenko@intel.com>,
Petr Machata <petrm@nvidia.com>,
Kory Maincent <kory.maincent@bootlin.com>,
brcm80211-dev-list.pdl@broadcom.com,
GR-Linux-NIC-Dev@marvell.com,
Vadim Fedorenko <vadim.fedorenko@linux.dev>,
Leon Romanovsky <leon@kernel.org>,
Denis Benato <benato.denis96@gmail.com>,
Rasesh Mody <rmody@marvell.com>,
David Arinzon <darinzon@amazon.com>,
oss-drivers@corigine.com, Vincent Mailhol <mailhol@kernel.org>,
Mark Bloch <mbloch@nvidia.com>,
linux-kernel@vger.kernel.org, Tariq Toukan <tariqt@nvidia.com>,
Jian Shen <shenjian15@huawei.com>,
Jijie Shao <shaojijie@huawei.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
Thomas Gleixner <tglx@kernel.org>,
Simon Horman <horms@kernel.org>, Yicong Hui <yiconghui@gmail.com>,
Mark Einon <mark.einon@gmail.com>,
Johannes Berg <johannes@sipsolutions.net>,
Heiner Kallweit <hkallweit1@gmail.com>,
Saeed Mahameed <saeedm@nvidia.com>,
"David S. Miller" <davem@davemloft.net>,
Krzysztof Halasa <khc@pm.waw.pl>
Subject: Re: [Intel-wired-lan] [PATCH net-next v2 1/2] net: Consistently define pci_device_ids using named initializers
Date: Thu, 7 May 2026 16:23:43 +0200 [thread overview]
Message-ID: <afyfa4E4rNbkMYTk@monoceros> (raw)
In-Reply-To: <20260507-healthy-gainful-fox-500552-mkl@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 1638 bytes --]
Hello Marc,
On Thu, May 07, 2026 at 12:55:45PM +0200, Marc Kleine-Budde wrote:
> > + }, {
> > /* ASEM Dual CAN raw -new model */
> > - ASEM_RAW_CAN_VENDOR_ID, ASEM_RAW_CAN_DEVICE_ID,
> > - ASEM_RAW_CAN_SUB_VENDOR_ID, ASEM_RAW_CAN_SUB_DEVICE_ID_BIS,
> > - 0, 0,
> > - (kernel_ulong_t)&plx_pci_card_info_asem_dual_can
> > + PCI_DEVICE_SUB(ASEM_RAW_CAN_VENDOR_ID, ASEM_RAW_CAN_DEVICE_ID,
> > + ASEM_RAW_CAN_SUB_VENDOR_ID, ASEM_RAW_CAN_SUB_DEVICE_ID_BIS),
> > + .driver_data = (kernel_ulong_t)&plx_pci_card_info_asem_dual_can,
> > },
> > - { 0,}
> > + { }
>
> Nitpick: can you convert the terminating entry to follow the same style
> as the rest of the driver:
>
> diff --git a/drivers/net/can/sja1000/plx_pci.c b/drivers/net/can/sja1000/plx_pci.c
> index a03553b80a5d..d69ff0ccfd94 100644
> --- a/drivers/net/can/sja1000/plx_pci.c
> +++ b/drivers/net/can/sja1000/plx_pci.c
> @@ -353,8 +353,8 @@ static const struct pci_device_id plx_pci_tbl[] = {
> PCI_DEVICE_SUB(ASEM_RAW_CAN_VENDOR_ID, ASEM_RAW_CAN_DEVICE_ID,
> ASEM_RAW_CAN_SUB_VENDOR_ID, ASEM_RAW_CAN_SUB_DEVICE_ID_BIS),
> .driver_data = (kernel_ulong_t)&plx_pci_card_info_asem_dual_can,
> - },
> - { }
> + }, {
> + }
> };
> MODULE_DEVICE_TABLE(pci, plx_pci_tbl);
After the conversation in the v1 thread it was unclear to me if you
stand by your opinion, so I kept the format as it was. I interpret your
repetition of the nitpick as request to rework the can drivers for the
next revision (if that happens).
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-05-07 14:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-07 10:50 [Intel-wired-lan] [PATCH net-next v2 0/2] Rework pci_device_id initialisation Uwe Kleine-König (The Capable Hub)
2026-05-07 10:50 ` [Intel-wired-lan] [PATCH net-next v2 1/2] net: Consistently define pci_device_ids using named initializers Uwe Kleine-König (The Capable Hub)
2026-05-07 10:55 ` Marc Kleine-Budde
2026-05-07 14:23 ` Uwe Kleine-König (The Capable Hub) [this message]
2026-05-07 14:48 ` Marc Kleine-Budde
2026-05-08 22:34 ` [Intel-wired-lan] [PATCH net-next v2 0/2] Rework pci_device_id initialisation Jakub Kicinski
2026-05-09 6:42 ` Uwe Kleine-König (The Capable Hub)
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=afyfa4E4rNbkMYTk@monoceros \
--to=u.kleine-koenig@baylibre.com \
--cc=GR-Linux-NIC-Dev@marvell.com \
--cc=aleksandr.loktionov@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=andriy.shevchenko@intel.com \
--cc=anthony.l.nguyen@intel.com \
--cc=arend.vanspriel@broadcom.com \
--cc=benato.denis96@gmail.com \
--cc=bharat@chelsio.com \
--cc=bhelgaas@google.com \
--cc=brcm80211-dev-list.pdl@broadcom.com \
--cc=brcm80211@lists.linux.dev \
--cc=cai.huoqing@linux.dev \
--cc=chessman@tux.org \
--cc=colin.i.king@gmail.com \
--cc=danishanwar@ti.com \
--cc=darinzon@amazon.com \
--cc=davem@davemloft.net \
--cc=dong100@mucse.com \
--cc=double.lo@cypress.com \
--cc=edumazet@google.com \
--cc=enelsonmoore@gmail.com \
--cc=fourier.thomas@gmail.com \
--cc=gongfan1@huawei.com \
--cc=hkallweit1@gmail.com \
--cc=horms@kernel.org \
--cc=ian.lin@infineon.com \
--cc=idosch@nvidia.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=ionut@badula.org \
--cc=jacob.e.keller@intel.com \
--cc=jiawenwu@trustnetic.com \
--cc=jiri@resnulli.us \
--cc=johannes@sipsolutions.net \
--cc=kees@kernel.org \
--cc=kevin.curtis@farsite.co.uk \
--cc=khc@pm.waw.pl \
--cc=kirjanov@gmail.com \
--cc=klassert@kernel.org \
--cc=kory.maincent@bootlin.com \
--cc=kuba@kernel.org \
--cc=larysa.zaremba@intel.com \
--cc=leon@kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=liuyonglong@huawei.com \
--cc=mailhol@kernel.org \
--cc=manishc@marvell.com \
--cc=marco.crivellari@suse.com \
--cc=mark.einon@gmail.com \
--cc=mbloch@nvidia.com \
--cc=mengyuanlou@net-swift.com \
--cc=mgr@kernel.org \
--cc=mingo@kernel.org \
--cc=mkl@pengutronix.de \
--cc=msp@baylibre.com \
--cc=nathan@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nic_swsd@realtek.com \
--cc=oss-drivers@corigine.com \
--cc=pabeni@redhat.com \
--cc=petrm@nvidia.com \
--cc=przemyslaw.kitszel@intel.com \
--cc=rdunlap@infradead.org \
--cc=richardcochran@gmail.com \
--cc=rmody@marvell.com \
--cc=saeedm@nvidia.com \
--cc=shaojijie@huawei.com \
--cc=shenjian15@huawei.com \
--cc=stas.yakovlev@gmail.com \
--cc=tariqt@nvidia.com \
--cc=tglx@kernel.org \
--cc=vadim.fedorenko@linux.dev \
--cc=venza@brownhat.org \
--cc=yiconghui@gmail.com \
--cc=yyyynoom@gmail.com \
--cc=zilin@seu.edu.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox