Re: lockdep: incorrect deadlock warning with two GPIO expanders

From: Peter Zijlstra
Date: Fri Sep 16 2016 - 06:56:45 EST


On Thu, Sep 15, 2016 at 03:39:22PM +0200, Peter Zijlstra wrote:

> In any case, if this fails, we can always punt and simply count the
> total number of instances of this driver on the system and go with that.

One caveat with that approach is that if this is s module, someone doing
rmmod, insmod a number of times gets tricky.