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

From: Greg Kroah-Hartman
Date: Sat Jul 14 2018 - 02:36:26 EST


On Fri, Jul 13, 2018 at 10:58:04PM -0700, Todd Poynor wrote:
> From: Todd Poynor <toddpoynor@xxxxxxxxxx>
>
> 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