Re: [BUGFIX 0/9] Fix bug 59501 and code improvement for dock driver

From: Yinghai Lu
Date: Thu Jun 13 2013 - 23:23:08 EST


On Thu, Jun 13, 2013 at 7:06 PM, Alexander E. Patrakov
<patrakov@xxxxxxxxx> wrote:
> 2013/6/14 Yinghai Lu <yinghai@xxxxxxxxxx>:
>> the 3) is about pci resource allocation?
>> because pcibios_add_bus is called too early?
>
> (3) is https://bugzilla.kernel.org/show_bug.cgi?id=56531
>
>> If that is case, we should have something like attached patch for it.
>
> It does not even compile because the argument of pci_bus_add_devices()
> points to a const struct. You can't increment a member of it. And even
> if you remove the const from both the declaration and the definition
> of that function, the patch doesn't help at all.
>
> Here is /proc/ioports with the fixed-up patch:

dmesg with the fixed-up patch on v3.10-rc?

After look at the your dmesg v3.10-rc5, we really should move
pcibios_add_bus down.
as we do have children slots under ....

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/