nvdimm: Introduce guard() for nvdimm_bus_lock and clean up usages
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review
- v11 patch 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nvdimm: Introduce guard() for nvdimm_bus_lockdrivers/ drivers/ drivers/ +11 more | +194 | 2 replies | |
| 2/2 | nvdimm: Clean up __nd_ioctl() and remove gotosdrivers/ | +22 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Dan Williams | Jonathan Cameron |
|---|---|---|
| 1/2 | A-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] nvdimm: Introduce guard() for nvdimm_bus_lock and clean up usages
The series introduces a guard() function to manage the nvdimm_bus_lock, and convert code using nvdimm_bus_lock()/unlock() to use guard() instead.
v2
- Move __nd_ioctl() cleanup to a separate patch and remove all gotos. (Dan)
- Fix various changes from Jonathan's feedback
# <REPLACE>cover letter body:
# NOTE: nvdimm-guard/0000-cover-letter.patch will add diffstat and base-commit to this template
# Dave Jiang (2):
# nvdimm: Introduce guard() for nvdimm_bus_lock
# nvdimm: Clean up __nd_ioctl() and remove gotos
#
# drivers/nvdimm/badrange.c | 3 +- # drivers/nvdimm/btt_devs.c | 24 +++----- # drivers/nvdimm/bus.c | 71 ++++++++---------------- # drivers/nvdimm/claim.c | 7 +-- # drivers/nvdimm/core.c | 17 +++--- # drivers/nvdimm/dax_devs.c | 12 ++-- # drivers/nvdimm/dimm.c | 5 +- # drivers/nvdimm/dimm_devs.c | 48 ++++++---------- # drivers/nvdimm/namespace_devs.c | 117 +++++++++++++++++++-------------------- # drivers/nvdimm/nd.h | 3 + # drivers/nvdimm/pfn_devs.c | 61 +++++++++------------ # drivers/nvdimm/region.c | 14 ++--- # drivers/nvdimm/region_devs.c | 118 +++++++++++++++++----------------------- # drivers/nvdimm/security.c | 10 +--- # 14 files changed, 216 insertions(+), 294 deletions(-)
# </REPLACE>
Dave Jiang (2):
nvdimm: Introduce guard() for nvdimm_bus_lock
nvdimm: Clean up __nd_ioctl() and remove gotos
drivers/nvdimm/badrange.c | 3 +- drivers/nvdimm/btt_devs.c | 24 +++---- drivers/nvdimm/bus.c | 71 +++++++------------ drivers/nvdimm/claim.c | 7 +- drivers/nvdimm/core.c | 17 +++-- drivers/nvdimm/dax_devs.c | 12 ++-- drivers/nvdimm/dimm.c | 5 +- drivers/nvdimm/dimm_devs.c | 48 +++++-------- drivers/nvdimm/namespace_devs.c | 117 +++++++++++++++---------------- drivers/nvdimm/nd.h | 3 + drivers/nvdimm/pfn_devs.c | 61 +++++++---------- drivers/nvdimm/region.c | 14 ++-- drivers/nvdimm/region_devs.c | 118 ++++++++++++++------------------ drivers/nvdimm/security.c | 10 +-- 14 files changed, 216 insertions(+), 294 deletions(-)
base-commit: 07e27ad16399afcd693be20211b0dfae63e0615f
Signature · 1 line
2.51.0