* [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implic
@ 2012-09-11 22:48 Fengguang Wu
2012-09-11 23:09 ` [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im Bjorn Helgaas
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Fengguang Wu @ 2012-09-11 22:48 UTC (permalink / raw)
To: kernel-janitors
Hi Gavin,
FYI, kernel build failed on
tree: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/gavin-window-alignment
head: 4814ef2ec1b8ebaabfc54bb50578313c2f94119a
commit: 4814ef2ec1b8ebaabfc54bb50578313c2f94119a [5/5] powerpc/powernv: I/O and memory alignment for P2P bridges
config: powerpc-allmodconfig
All related error/warning messages:
arch/powerpc/platforms/powernv/pci-ioda.c: In function 'pnv_pci_window_alignment':
arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implicit declaration of function 'pci_pcie_type' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
vim +1164 arch/powerpc/platforms/powernv/pci-ioda.c
1159 struct pnv_phb *phb = hose->private_data;
1160 int num_pci_bridges = 0;
1161
1162 bridge = bus->self;
1163 while (bridge) {
> 1164 if (pci_pcie_type(bridge) = PCI_EXP_TYPE_PCI_BRIDGE) {
1165 num_pci_bridges++;
1166 if (num_pci_bridges >= 2)
1167 return 1;
1168 }
1169
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com> Intel Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im
2012-09-11 22:48 [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implic Fengguang Wu
@ 2012-09-11 23:09 ` Bjorn Helgaas
2012-09-11 23:44 ` Benjamin Herrenschmidt
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2012-09-11 23:09 UTC (permalink / raw)
To: kernel-janitors
On Tue, Sep 11, 2012 at 4:48 PM, Fengguang Wu <fengguang.wu@intel.com> wrote:
> Hi Gavin,
>
> FYI, kernel build failed on
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/gavin-window-alignment
> head: 4814ef2ec1b8ebaabfc54bb50578313c2f94119a
> commit: 4814ef2ec1b8ebaabfc54bb50578313c2f94119a [5/5] powerpc/powernv: I/O and memory alignment for P2P bridges
> config: powerpc-allmodconfig
>
> All related error/warning messages:
>
> arch/powerpc/platforms/powernv/pci-ioda.c: In function 'pnv_pci_window_alignment':
> arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implicit declaration of function 'pci_pcie_type' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
Sorry, this is my fault. I fixed this earlier, but I did it the wrong way.
What I did before was just update the patch in the
pci/gavin-window-alignment branch. But what I should have done was to
rebase that branch on top of pci/jiang-pcie-cap, which the branch it
actually depends on (that's where pci_pcie_type() was added).
So I did that rebase and pushed both pci/gavin-window-alignment and
next again. I think the result is sensible now.
Sorry for the mess.
Bjorn
> vim +1164 arch/powerpc/platforms/powernv/pci-ioda.c
> 1159 struct pnv_phb *phb = hose->private_data;
> 1160 int num_pci_bridges = 0;
> 1161
> 1162 bridge = bus->self;
> 1163 while (bridge) {
>> 1164 if (pci_pcie_type(bridge) = PCI_EXP_TYPE_PCI_BRIDGE) {
> 1165 num_pci_bridges++;
> 1166 if (num_pci_bridges >= 2)
> 1167 return 1;
> 1168 }
> 1169
>
> ---
> 0-DAY kernel build testing backend Open Source Technology Centre
> Fengguang Wu <wfg@linux.intel.com> Intel Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im
2012-09-11 22:48 [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implic Fengguang Wu
2012-09-11 23:09 ` [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im Bjorn Helgaas
@ 2012-09-11 23:44 ` Benjamin Herrenschmidt
2012-09-12 23:27 ` Benjamin Herrenschmidt
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2012-09-11 23:44 UTC (permalink / raw)
To: kernel-janitors
On Tue, 2012-09-11 at 17:09 -0600, Bjorn Helgaas wrote:
>
> So I did that rebase and pushed both pci/gavin-window-alignment and
> next again. I think the result is sensible now.
Argh ... a rebase ! Oh well, thankfully I haven't pushed out yet, so I
can reconstruct my tree.
Ben.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im
2012-09-11 22:48 [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implic Fengguang Wu
2012-09-11 23:09 ` [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im Bjorn Helgaas
2012-09-11 23:44 ` Benjamin Herrenschmidt
@ 2012-09-12 23:27 ` Benjamin Herrenschmidt
2012-09-13 14:49 ` Bjorn Helgaas
2012-09-13 21:35 ` Benjamin Herrenschmidt
4 siblings, 0 replies; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2012-09-12 23:27 UTC (permalink / raw)
To: kernel-janitors
On Tue, 2012-09-11 at 17:09 -0600, Bjorn Helgaas wrote:
> Sorry, this is my fault. I fixed this earlier, but I did it the wrong
> way.
>
> What I did before was just update the patch in the
> pci/gavin-window-alignment branch. But what I should have done was to
> rebase that branch on top of pci/jiang-pcie-cap, which the branch it
> actually depends on (that's where pci_pcie_type() was added).
>
> So I did that rebase and pushed both pci/gavin-window-alignment and
> next again. I think the result is sensible now.
The result has content conflicts against a couple of drivers. If I fix
that up locally that means that things might end up being a bit more
complicated than expected when reconciling everything with Linus and
that worries me.
Any chance you can pull in a recent Linus tree & fixup the merges before
I pull that in myself ?
Cheers,
Ben.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im
2012-09-11 22:48 [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implic Fengguang Wu
` (2 preceding siblings ...)
2012-09-12 23:27 ` Benjamin Herrenschmidt
@ 2012-09-13 14:49 ` Bjorn Helgaas
2012-09-13 21:35 ` Benjamin Herrenschmidt
4 siblings, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2012-09-13 14:49 UTC (permalink / raw)
To: kernel-janitors
On Wed, Sep 12, 2012 at 5:27 PM, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
> On Tue, 2012-09-11 at 17:09 -0600, Bjorn Helgaas wrote:
>> Sorry, this is my fault. I fixed this earlier, but I did it the wrong
>> way.
>>
>> What I did before was just update the patch in the
>> pci/gavin-window-alignment branch. But what I should have done was to
>> rebase that branch on top of pci/jiang-pcie-cap, which the branch it
>> actually depends on (that's where pci_pcie_type() was added).
>>
>> So I did that rebase and pushed both pci/gavin-window-alignment and
>> next again. I think the result is sensible now.
>
> The result has content conflicts against a couple of drivers. If I fix
> that up locally that means that things might end up being a bit more
> complicated than expected when reconciling everything with Linus and
> that worries me.
>
> Any chance you can pull in a recent Linus tree & fixup the merges before
> I pull that in myself ?
I merged v3.6-rc5 into my "next" branch, fixed the conflicts in
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/rapidio/devices/tsi721.c
and pushed the result. Let me know if this is not what you expected.
Bjorn
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im
2012-09-11 22:48 [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implic Fengguang Wu
` (3 preceding siblings ...)
2012-09-13 14:49 ` Bjorn Helgaas
@ 2012-09-13 21:35 ` Benjamin Herrenschmidt
4 siblings, 0 replies; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2012-09-13 21:35 UTC (permalink / raw)
To: kernel-janitors
On Thu, 2012-09-13 at 08:49 -0600, Bjorn Helgaas wrote:
> I merged v3.6-rc5 into my "next" branch, fixed the conflicts in
>
> drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
> drivers/rapidio/devices/tsi721.c
>
> and pushed the result. Let me know if this is not what you expected.
Thanks. I'll end up pulling your entire next branch then. Unless you can
do the same exercise in the topic branch I'm interested in :-)
Cheers,
Ben.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-09-13 21:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 22:48 [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: implic Fengguang Wu
2012-09-11 23:09 ` [pci:pci/gavin-window-alignment 5/5] arch/powerpc/platforms/powernv/pci-ioda.c:1164:3: error: im Bjorn Helgaas
2012-09-11 23:44 ` Benjamin Herrenschmidt
2012-09-12 23:27 ` Benjamin Herrenschmidt
2012-09-13 14:49 ` Bjorn Helgaas
2012-09-13 21:35 ` Benjamin Herrenschmidt
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).