Re: [PATCH] usb: roles: Fix a false positive recursive locking complaint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 9/5/24 11:22 AM, Bart Van Assche wrote:
On 9/5/24 11:14 AM, Andy Shevchenko wrote:
To be clear, something like

#define mutex_init_with_lockdep(...)
do {
   ...
   __mutex_init();
} while (0)

in the mutex.h.

How about using the name "mutex_init_with_key()" since the name
"lockdep" refers to the lock dependency infrastructure and the
additional argument will have type struct lock_class_key *?

Amit, do you want me to add your Signed-off-by to my patch since
your patch was posted first on the linux-usb mailing list?

Yes, thank you :) .

Also, thanks for the clarification on my previous questions Bart and for your suggestions Andy!

-

Amit

Thanks,

Bart.





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux