[GIT PULL] libnvdimm + device-dax for v5.12-rc1

From: Dan Williams
Date: Tue Feb 23 2021 - 21:49:17 EST


Hi Linus, please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-for-5.12

...to receive some miscellaneous cleanups and a fix for v5.12. This
mainly continues the kernel wide effort to remove a return code from
the remove() callback in the driver model. The fix addresses a return
code polarity typo in the new sysfs attribute to manually specify a
device-dax instance mapping range. This has all appeared in -next with
no reported issues.

---

The following changes since commit 1048ba83fb1c00cd24172e23e8263972f6b5d9ac:

Linux 5.11-rc6 (2021-01-31 13:50:09 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
tags/libnvdimm-for-5.12

for you to fetch changes up to 64ffe84320745ea836555ad207ebfb0e896b6167:

Merge branch 'for-5.12/dax' into for-5.12/libnvdimm (2021-02-23
18:13:45 -0800)

----------------------------------------------------------------
libnvdimm + device-dax for 5.12

- Fix the error code polarity for the device-dax/mapping attribute

- For the device-dax and libnvdimm bus implementations stop implementing
a useless return code for the remove() callback.

- Miscellaneous cleanups

----------------------------------------------------------------
Dan Williams (1):
Merge branch 'for-5.12/dax' into for-5.12/libnvdimm

Shiyang Ruan (1):
device-dax: Fix default return code of range_parse()

Uwe Kleine-König (7):
libnvdimm/dimm: Simplify nvdimm_remove()
libnvdimm: Make remove callback return void
device-dax: Prevent registering drivers without probe callback
device-dax: Properly handle drivers without remove callback
device-dax: Fix error path in dax_driver_register
device-dax: Drop an empty .remove callback
dax-device: Make remove callback return void

drivers/dax/bus.c | 24 +++++++++++++++++++++---
drivers/dax/bus.h | 2 +-
drivers/dax/device.c | 8 +-------
drivers/dax/kmem.c | 7 ++-----
drivers/dax/pmem/compat.c | 3 +--
drivers/nvdimm/blk.c | 3 +--
drivers/nvdimm/bus.c | 13 +++++--------
drivers/nvdimm/dimm.c | 7 +------
drivers/nvdimm/pmem.c | 4 +---
drivers/nvdimm/region.c | 4 +---
include/linux/nd.h | 2 +-
11 files changed, 36 insertions(+), 41 deletions(-)