From: Bjorn Helgaas Date: Wed, 26 Feb 2014 18:25:58 +0000 (-0700) Subject: PCI: Mark resources as IORESOURCE_UNSET if we can't assign them X-Git-Tag: v3.15-rc1~143^2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd064f0a231af336218838474ea45a64f1672190;p=pandora-kernel.git PCI: Mark resources as IORESOURCE_UNSET if we can't assign them When assigning addresses to resources, mark them with IORESOURCE_UNSET before we start and clear IORESOURCE_UNSET if assignment is successful. That means that if we print the resource during assignment, we will show the size, not a meaningless address. Also, clear IORESOURCE_UNSET if we do assign an address, so we print the address when it is valid. Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed