diff options
| author | 2025-12-19 19:40:22 +0200 | |
|---|---|---|
| committer | 2026-01-27 16:36:51 -0600 | |
| commit | e112fbb26b66b183d9387017b29e5d0b62986eed (patch) | |
| tree | add0394ff9cb9ca5bd46ae0632ada93653e5c6e3 /include/linux/hsi/ssh:/git@git.zx2c4.com/git: | |
| parent | PCI: Use res_to_dev_res() in reassign_resources_sorted() (diff) | |
PCI: Fetch dev_res to local var in __assign_resources_sorted()
__assign_resources_sorted() calls get_res_add_size() and
get_res_add_align(), each walking through the realloc_head list to
relocate the corresponding pci_dev_resource entry.
Fetch the pci_dev_resource entry into a local variable to avoid double
walk.
In addition, reverse logic to reduce indentation level.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20251219174036.16738-10-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'include/linux/hsi/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
