summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-07 09:54:37 +0200
committerLeon Romanovsky <leon@kernel.org>2026-05-18 04:58:42 -0400
commitcd31340419af6e0ae62b2c27985db209826a9577 (patch)
treeff536e761d312e632ad2f109799d7e1f9e510a8a /scripts/objdiff
parentc6207055617a7f463c4aac92d704d21081103b94 (diff)
RDMA/hns: Use named initializer for pci_device_id array
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. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/20260507075437.2669363-2-u.kleine-koenig@baylibre.com Reviewed-by: Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions