* linux-next: manual merge of the pci tree with the ia64 tree
@ 2013-06-20 1:36 Stephen Rothwell
0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2013-06-20 1:36 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: linux-next, linux-kernel, Jiang Liu, Yijing Wang, Luck, Tony
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
Hi Bjorn,
Today's linux-next merge of the pci tree got a conflict in
arch/ia64/sn/kernel/io_init.c between commit 2ead66b54725 ("PCI/IA64: SN:
use normal resource instead of pci_window") from the ia64 tree and commit
a649dbfea36b ("ia64/PCI: Clean up pci_scan_root_bus() usage") from the
pci tree.
I fixed it up (see below - this could clearly be done better) and can
carry the fix as necessary (no action is required).
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --cc arch/ia64/sn/kernel/io_init.c
index 2b00ade,e2c7733..0000000
--- a/arch/ia64/sn/kernel/io_init.c
+++ b/arch/ia64/sn/kernel/io_init.c
@@@ -269,16 -326,7 +269,14 @@@ sn_pci_controller_fixup(int segment, in
bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, controller,
&resources);
if (bus == NULL)
- kfree(controller);
+ goto error_return; /* error, or bus already scanned */
+
- bus->sysdata = controller;
-
+ return;
+
+error_return:
+ kfree(res);
+ kfree(controller);
+ return;
}
/*
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-06-20 1:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-20 1:36 linux-next: manual merge of the pci tree with the ia64 tree Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).