summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-24 15:19:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-07 14:27:24 +0200
commitaddee0be2481e46a94b21742d2520b8c788e037a (patch)
treec5460d893013d755f5a95640b7831b76699dfbca /tools/perf/scripts/python
parent0f09902b05062749e4e5a7e4112f35f70b3f2feb (diff)
tty: serial: rp2: Use named initializer for pci_device_id::driver_data
The .driver_data member of the struct pci_device_id array were initialized by list expressions relying on hidden assignment of .class and .class_mask in PCI_VDEVICE(). Make the initialization more robust by using a named initializer. This robustness is relevant for a planned change to struct pci_device_id that replaces .driver_data by an anonymous union. This change doesn't introduce changes to the compiled pci_device_id array. Tested on x86 and arm64. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/20260524131905.871222-2-u.kleine-koenig@baylibre.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions