mbox series

[v3,0/3] Improve a lockdep complaint suppression approach

Message ID 20240912223956.3554086-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Improve a lockdep complaint suppression approach | expand

Message

Bart Van Assche Sept. 12, 2024, 10:39 p.m. UTC
Hi Greg,

This patch series is intended as an improvement for commit fc88bb116179 ("usb:
roles: add lockdep class key to struct usb_role_switch"). Please consider this
patch series for the next merge window.

Thanks,

Bart.

Changes compared to v2:
 - Rebased this patch series on top of Greg KH's for-next branch.
 - Left out the "Fixes:" and "Cc: stable" tags.

Changes compared to v1:
 - Added two patches. One that combines the two mutex_init() definitions and
   another patch that introduces mutex_init_with_key().
 - Changed patch 3/3 such that it uses mutex_init_with_key(). Added Amit's
   Signed-off-by.

Bart Van Assche (3):
  locking/mutex: Define mutex_init() once
  locking/mutex: Introduce mutex_init_with_key()
  usb: roles: Improve the fix for a false positive recursive locking
    complaint

 drivers/usb/roles/class.c | 14 +++++---------
 include/linux/mutex.h     | 19 ++++++++++++-------
 2 files changed, 17 insertions(+), 16 deletions(-)