summaryrefslogtreecommitdiffstats
path: root/scripts/show_delta
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-02-10 15:33:47 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-23 11:59:56 -0800
commit1184893439b1a7532b579a85a354db12bbf1b277 (patch)
treecfba5be149def3389707a0773909d44c50b58f30 /scripts/show_delta
parentdcef0d06b34a80071da4496556e85f9bf3b3c0bf (diff)
downloadblackbird-op-linux-1184893439b1a7532b579a85a354db12bbf1b277.tar.gz
blackbird-op-linux-1184893439b1a7532b579a85a354db12bbf1b277.zip
PCI: Fix "cardbus bridge resources as optional" size handling
We should not set the requested size to -2; that will confuse the resource list sorting with align when SIZEALIGN is used. Change to STARTALIGN and pass align from start; we are safe to do that just as we do that regular pci bridge. In the long run, we should just treat cardbus like a regular pci bridge. Also fix the case when realloc_head is not passed: we should keep the requested size. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Tested-by: Dominik Brodowski <linux@dominikbrodowski.net> Acked-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud