mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[POWERPC] Fix a compile warning in pci_32.c
__must_check, so do so. Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
b9c3fdb0f0
commit
3a77d291be
1 changed files with 4 additions and 1 deletions
|
@ -581,8 +581,11 @@ pcibios_assign_resources(void)
|
|||
if ((r->flags & IORESOURCE_UNSET) && r->end &&
|
||||
(!ppc_md.pcibios_enable_device_hook ||
|
||||
!ppc_md.pcibios_enable_device_hook(dev, 1))) {
|
||||
int rc;
|
||||
|
||||
r->flags &= ~IORESOURCE_UNSET;
|
||||
pci_assign_resource(dev, idx);
|
||||
rc = pci_assign_resource(dev, idx);
|
||||
BUG_ON(rc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue