aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-12-16 19:56:27 +0200
committerBjorn Helgaas <bhelgaas@google.com>2025-02-18 15:40:54 -0600
commitb3281eb5ded17f88d7d4fa5fb39a709c195e56c2 (patch)
treef8f42956a84b8be3a157b5bb617b84847127f5e9 /include/linux/compiler-gcc.h
parentPCI: Extend enable to check for any optional resource (diff)
downloadwireguard-linux-b3281eb5ded17f88d7d4fa5fb39a709c195e56c2.tar.xz
wireguard-linux-b3281eb5ded17f88d7d4fa5fb39a709c195e56c2.zip
PCI: Always have realloc_head in __assign_resources_sorted()
Add a dummy list to always have a non-NULL realloc head in __assign_resources_sorted() as it allows only checking list_empty(). In future, it would be good to ensure all callers provide a valid realloc_head but that is relatively complex to do in practice and not necessary for the subsequent optional resource handling fix. Link: https://lore.kernel.org/r/20241216175632.4175-21-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Tested-by: Xiaochun Lee <lixc17@lenovo.com>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions