Skip to content

Improve a lockdep complaint suppression approach

Bart Van Assche linux-usb 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v23 patches 7 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3locking/mutex: Define mutex_init() onceinclude/linux/mutex.h+1 -70 replies
2/3locking/mutex: Introduce mutex_init_with_key()include/linux/mutex.h+11 -00 replies
3/3usb: roles: Improve the fix for a false positive recursive locking complaintdrivers/usb/roles/class.c+5 -90 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPeter Zijlstra (Intel)Andy Shevchenko
1/3A-b
2/3A-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] Improve a lockdep complaint suppression approach

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(-)