[PATCH 06/18] staging: gasket: fix deadlock in pci driver unregister path

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sat Jul 14 06:36:18 UTC 2018


On Fri, Jul 13, 2018 at 10:58:04PM -0700, Todd Poynor wrote:
> From: Todd Poynor <toddpoynor at google.com>
> 
> g_mutex held across pci_unregister_driver() call, also held in
> gasket_pci_remove(), which deadlocks.

Which reminds me, why in the world do you all wrap pci
register/unregister within your new subsystem?  That's very odd, and
should be reworked...  Someone should go add that to the TODO list :)

thanks,

greg k-h


More information about the devel mailing list