[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE9FiQVRMBHN+QbFpVv4j2xPfco2X0bt9OzzcSE-BrrDY4Oqgg@mail.gmail.com>
Date: Mon, 12 Mar 2012 23:24:11 -0700
From: Yinghai Lu <yinghai@...nel.org>
To: Jiang Liu <liuj97@...il.com>
Cc: Jesse Barnes <jbarnes@...tuousgeek.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Jiang Liu <jiang.liu@...wei.com>,
Ashok Raj <ashok.raj@...el.com>,
Suresh Siddha <suresh.b.siddha@...el.com>,
Youquan Song <youquan.song@...el.com>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
chenkeping@...wei.com
Subject: Re: [PATCH 2/5] Correctly clean up pci root buses in function pci_remove_bus()
On Sun, Mar 11, 2012 at 10:48 AM, Jiang Liu <liuj97@...il.com> wrote:
> The function pci_create_root_bus() allocates the pci bus structure,
> registers the bus device and creates the legacy files for a pci root
> bus, but returns without setting the is_added flag. The is_added flag
> for a pci root bus will be set by function pci_scan_child_bus().
> If a pci root bus is destroyed before calling pci_scan_child_bus(),
> the is_added flag will not be set.
how that can be met?
Do we have pci_remove_rescan_mutex around them?
Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists