]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Don't try to allocate resources that will be reassigned
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 8 Jul 2016 06:37:18 +0000 (16:37 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 17 Jul 2016 06:42:49 +0000 (16:42 +1000)
commitd9baa2e597c2fefae0abafe5204f74aee7b9a162
tree3a195dc0d2aaa4baacc6da8d3d277d89d4ebb7aa
parent8cc15350e26e2022f42187f302c5aea92bde6dcf
powerpc/pci: Don't try to allocate resources that will be reassigned

When we know we will reassign all resources, trying (and failing)
to allocate them initially is fairly pointless and leads to a lot
of scary messages in the kernel log

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/pci-common.c