diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-05-19 19:42:28 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-07-13 18:33:20 +0200 |
commit | c00f94ad9ab0ea1560b9d98d96bfef0a9886394e (patch) | |
tree | 2c2df77ea18b62c9a7b4bbee830b38e297df1aa8 /drivers/pci/controller/pci-host-common.c | |
parent | PCI: Change pdev->rom_attr_enabled to single bit (diff) | |
download | linux-c00f94ad9ab0ea1560b9d98d96bfef0a9886394e.tar.xz linux-c00f94ad9ab0ea1560b9d98d96bfef0a9886394e.zip |
x86/PCI: Use struct_size() in pirq_convert_irt_table()
Use struct_size() instead of hand-writing it. It is less verbose, more
robust and more informative.
Link: https://lore.kernel.org/r/00a5cc2cd322e7dea26579916ac6dda9c637aa57.1684518118.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions