Re: [PATCH v2 3/8] PM / Domains: Add lockdep asserts for domains list mutex

2017-06-13 Thread Ulf Hansson
On 13 June 2017 at 09:12, Krzysztof Kozlowski wrote: > On Mon, Jun 12, 2017 at 09:09:59PM +0200, Ulf Hansson wrote: >> On 12 June 2017 at 17:17, Krzysztof Kozlowski wrote: >> > Add lockdep checks for holding mutex protecting the list of domains. >> > This might expose misuse even though only file

Re: [PATCH v2 3/8] PM / Domains: Add lockdep asserts for domains list mutex

2017-06-13 Thread Krzysztof Kozlowski
On Mon, Jun 12, 2017 at 09:09:59PM +0200, Ulf Hansson wrote: > On 12 June 2017 at 17:17, Krzysztof Kozlowski wrote: > > Add lockdep checks for holding mutex protecting the list of domains. > > This might expose misuse even though only file-scope functions use it > > for now. > > I think it seems

Re: [PATCH v2 3/8] PM / Domains: Add lockdep asserts for domains list mutex

2017-06-12 Thread Ulf Hansson
On 12 June 2017 at 17:17, Krzysztof Kozlowski wrote: > Add lockdep checks for holding mutex protecting the list of domains. > This might expose misuse even though only file-scope functions use it > for now. I think it seems a bit silly to use these lockdep checks as these functions are as you sta