[PATCH v1] iommu/riscv: Drop superflous zeros in pci_device_id array

Uwe Kleine-König (The Capable Hub) u.kleine-koenig at baylibre.com
Tue Jul 7 02:07:52 PDT 2026


Hello,

On Fri, May 22, 2026 at 04:59:43PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> The .driver_data member of the struct pci_device_id array were
> initialized by a list expressions to zero without making use of that
> value. In this case it's better to not specify a value at all and let
> the compiler fill in the zeros. Same for the list terminator that can
> better be completely empty.
> 
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig at baylibre.com>

This patch was sent before v7.1-rc5 and missed the merge window leading
to v7.2-rc1. I wonder if it's still on someone's radar?

Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260707/ba5b3fd1/attachment.sig>


More information about the linux-riscv mailing list