Re: [PATCH driver-core-linus] kernfs: make kernfs_deactivate() honor KERNFS_LOCKDEP flag

2014-01-30 Thread Jiri Kosina
On Wed, 29 Jan 2014, Tejun Heo wrote: > kernfs_deactivate() forgot to check whether KERNFS_LOCKDEP is set > before performing lockdep annotations and ends up feeding > uninitialized lockdep_map to lockdep triggering warning like the > following on USB stick hotunplug. > > usb 1-2: USB disconnect

Re: [PATCH driver-core-linus] kernfs: make kernfs_deactivate() honor KERNFS_LOCKDEP flag

2014-01-29 Thread Greg Kroah-Hartman
On Wed, Jan 29, 2014 at 03:19:51PM -0200, Fabio Estevam wrote: > On Wed, Jan 29, 2014 at 3:04 PM, Tejun Heo wrote: > > kernfs_deactivate() forgot to check whether KERNFS_LOCKDEP is set > > before performing lockdep annotations and ends up feeding > > uninitialized lockdep_map to lockdep triggering

Re: [PATCH driver-core-linus] kernfs: make kernfs_deactivate() honor KERNFS_LOCKDEP flag

2014-01-29 Thread Fabio Estevam
On Wed, Jan 29, 2014 at 3:04 PM, Tejun Heo wrote: > kernfs_deactivate() forgot to check whether KERNFS_LOCKDEP is set > before performing lockdep annotations and ends up feeding > uninitialized lockdep_map to lockdep triggering warning like the > following on USB stick hotunplug. > > usb 1-2: USB

[PATCH driver-core-linus] kernfs: make kernfs_deactivate() honor KERNFS_LOCKDEP flag

2014-01-29 Thread Tejun Heo
kernfs_deactivate() forgot to check whether KERNFS_LOCKDEP is set before performing lockdep annotations and ends up feeding uninitialized lockdep_map to lockdep triggering warning like the following on USB stick hotunplug. usb 1-2: USB disconnect, device number 2 INFO: trying to register non-sta