Since last time: Broken off two patches from the series to be dealt with separately. Adding const like Mika suggested gives compile warning due to pci_resource_alignment() function. Does it matter that the dates on my patches might be out of date? I do not normally re-create them. I do "git am patchfile" and then do "git commit --amend ." It is late and I am tired, so apologies if I have forgotten to fix some things or made mistakes. If I do not get it done, I will keep putting it off. Thanks to all reviewers. Nicholas Johnson (4): PCI: Consider alignment of hot-added bridges when distributing available resources PCI: In extend_bridge_window() change available to new_size PCI: Change extend_bridge_window() to set resource size directly PCI: Allow extend_bridge_window() to shrink resource if necessary drivers/pci/setup-bus.c | 182 +++++++++++++++++++--------------------- 1 file changed, 88 insertions(+), 94 deletions(-) -- 2.23.0