Re: [GIT PULL] Driver core fix for 4.5-rc4

2016-02-14 Thread James Bottomley
On Sun, 2016-02-14 at 13:33 -0800, Linus Torvalds wrote: > On Sun, Feb 14, 2016 at 1:21 PM, James Bottomley > wrote: > > > > This means that when you pass an object to a caller(in this case, > > the > > bus_find_device), you pass it with an incremented refcount on the > > embedding object, which

Re: [GIT PULL] Driver core fix for 4.5-rc4

2016-02-14 Thread Linus Torvalds
On Sun, Feb 14, 2016 at 1:21 PM, James Bottomley wrote: > > This means that when you pass an object to a caller(in this case, the > bus_find_device), you pass it with an incremented refcount on the > embedding object, which is what the caller cares about. What happens > to the klist_node is entir

Re: [GIT PULL] Driver core fix for 4.5-rc4

2016-02-14 Thread James Bottomley
On Sun, 2016-02-14 at 12:57 -0800, Linus Torvalds wrote: > On Sun, Feb 14, 2016 at 11:02 AM, Greg KH > wrote: > > > > Here is one driver core, well klist, fix for 4.5-rc4. It fixes a > > problem found in the scsi device list traversal that probably also > > could > > be triggered by other subsys

Re: [GIT PULL] Driver core fix for 4.5-rc4

2016-02-14 Thread Linus Torvalds
On Sun, Feb 14, 2016 at 11:02 AM, Greg KH wrote: > > Here is one driver core, well klist, fix for 4.5-rc4. It fixes a > problem found in the scsi device list traversal that probably also could > be triggered by other subsystems. So I pulled this, but quite frankly, the fix smells bad to me. If

[GIT PULL] Driver core fix for 4.5-rc4

2016-02-14 Thread Greg KH
The following changes since commit 388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95: Linux 4.5-rc3 (2016-02-07 15:38:30 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.5-rc4 for you to fetch changes up to 00cd2