Re: [PATCH] RDMS/hns: Use named initializer for pci_device_id array
From: Uwe Kleine-König (The Capable Hub)
Date: Wed May 13 2026 - 16:14:22 EST
On Wed, May 13, 2026 at 02:51:20PM -0400, Leon Romanovsky wrote:
>
> On Thu, 07 May 2026 09:54:37 +0200, Uwe Kleine-König (The Capable Hub) wrote:
> > While being more verbose using a named initializer yields easier to
> > understand code and doesn't rely on the two hidden zeros in the
> > PCI_VDEVICE macro.
> >
> > While at it, also drop the explicit zero in the terminating entry.
> >
> > This doesn't introduce any changes to the compiled result of the array,
> > which was confirmed on x86 and arm64.
> >
> > [...]
>
> Applied, thanks!
>
> [1/1] RDMS/hns: Use named initializer for pci_device_id array
> https://git.kernel.org/rdma/rdma/c/9dd3e17173bfb8
Thanks for picking the patch up and also for the typo fix!
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature