Re: [PATCH 02/13] driver core: Remove the link if there is no driver with AUTO flag

2019-03-13 Thread Yong Wu
On Tue, 2019-03-12 at 16:17 -0700, Evan Green wrote: > On Tue, Mar 12, 2019 at 7:21 AM Matthias Brugger > wrote: > > > > > > > > On 05/03/2019 20:03, Evan Green wrote: > > > On Wed, Feb 27, 2019 at 6:33 AM Yong Wu wrote: > > >> > > >> On Mon, 2019-02-25 at 15:53 -0800, Evan Green wrote: > > >>>

Re: [PATCH 02/13] driver core: Remove the link if there is no driver with AUTO flag

2019-03-12 Thread Evan Green
On Tue, Mar 12, 2019 at 7:21 AM Matthias Brugger wrote: > > > > On 05/03/2019 20:03, Evan Green wrote: > > On Wed, Feb 27, 2019 at 6:33 AM Yong Wu wrote: > >> > >> On Mon, 2019-02-25 at 15:53 -0800, Evan Green wrote: > >>> On Mon, Dec 31, 2018 at 8:52 PM Yong Wu wrote: > >

Re: [PATCH 02/13] driver core: Remove the link if there is no driver with AUTO flag

2019-03-12 Thread Matthias Brugger
On 05/03/2019 20:03, Evan Green wrote: > On Wed, Feb 27, 2019 at 6:33 AM Yong Wu wrote: >> >> On Mon, 2019-02-25 at 15:53 -0800, Evan Green wrote: >>> On Mon, Dec 31, 2018 at 8:52 PM Yong Wu wrote: DL_FLAG_AUTOREMOVE_CONSUMER/SUPPLIER means "Remove the link automatically on

Re: [PATCH 02/13] driver core: Remove the link if there is no driver with AUTO flag

2019-03-05 Thread Evan Green
On Wed, Feb 27, 2019 at 6:33 AM Yong Wu wrote: > > On Mon, 2019-02-25 at 15:53 -0800, Evan Green wrote: > > On Mon, Dec 31, 2018 at 8:52 PM Yong Wu wrote: > > > > > > DL_FLAG_AUTOREMOVE_CONSUMER/SUPPLIER means "Remove the link > > > automatically on consumer/supplier driver unbind", that means

Re: [PATCH 02/13] driver core: Remove the link if there is no driver with AUTO flag

2019-02-27 Thread Yong Wu
On Mon, 2019-02-25 at 15:53 -0800, Evan Green wrote: > On Mon, Dec 31, 2018 at 8:52 PM Yong Wu wrote: > > > > DL_FLAG_AUTOREMOVE_CONSUMER/SUPPLIER means "Remove the link > > automatically on consumer/supplier driver unbind", that means we should > > remove whole the device_link when there is no

Re: [PATCH 02/13] driver core: Remove the link if there is no driver with AUTO flag

2019-02-25 Thread Evan Green
On Mon, Dec 31, 2018 at 8:52 PM Yong Wu wrote: > > DL_FLAG_AUTOREMOVE_CONSUMER/SUPPLIER means "Remove the link > automatically on consumer/supplier driver unbind", that means we should > remove whole the device_link when there is no this driver no matter what > the ref_count of the link is. > >

[PATCH 02/13] driver core: Remove the link if there is no driver with AUTO flag

2018-12-31 Thread Yong Wu
DL_FLAG_AUTOREMOVE_CONSUMER/SUPPLIER means "Remove the link automatically on consumer/supplier driver unbind", that means we should remove whole the device_link when there is no this driver no matter what the ref_count of the link is. CC: Greg Kroah-Hartman Signed-off-by: Yong Wu --- The