Re: [PATCH v5 01/21] gpu: host1x: Use different lock classes for each client

Mikko Perttunen
2021-03-26T19:11:53Z

On 3/26/21 8:31 PM, Dmitry Osipenko wrote:
> 26.03.2021 17:54, Mikko Perttunen пишет:
>>
>> Lockdep doesn't seem to be liking dev_name() for the name, and I think
>> allocating a string for this purpose seems a bit overkill, so I'll keep
>> the lock name as is if there are no objections.
>
> What does "liking" mean?
>

kernel/locking/lockdep.c:894 (on my local tree):

WARN_ON_ONCE(class->name != lock->name &&
lock->key !=
&__lockdep_no_validate__);

Mikko