提交 3a77d291 编写于 作者: S Segher Boessenkool 提交者: Paul Mackerras

[POWERPC] Fix a compile warning in pci_32.c

__must_check, so do so.
Signed-off-by: NSegher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 b9c3fdb0
......@@ -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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册