Re: [PATCH] RDMS/hns: Use named initializer for pci_device_id array
From: Leon Romanovsky
Date: Wed May 13 2026 - 14:58:05 EST
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
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>