[GIT PULL] NVDIMM for 6.7

From: Ira Weiny
Date: Wed Nov 01 2023 - 20:26:01 EST


Hi Linus, please pull from:

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

... to get updates to the nvdimm tree. They are a mix of bug fixes and updates
to interfaces used by nvdimm.

Bug fixes include:
Fix a sleep during spinlock in PREEMPT_RT kernels when getting a BTT
lane
Check for kstrdup memory failure in region probe
Use the correct variables in the nvdimm_badblocks_populate() kdoc block

Updates to interfaces include:
Use devm_kstrdup to manage memory better
Allow class structures to be declared at build time
Start using __counted_by to help with bounds checking
Remove use of the deprecated strncpy

They have all been in -next for more than a week with no reported issues.

---

The following changes since commit 6465e260f48790807eef06b583b38ca9789b6072:

Linux 6.6-rc3 (2023-09-24 14:31:13 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 9ea459e477dc09370cdd8ee13b61aefe8cd1f20a:

libnvdimm: remove kernel-doc warnings: (2023-10-18 09:48:05 -0700)

----------------------------------------------------------------
libnvdimm updates for v6.7

- updates to deprecated and changed interfaces
- bug/kdoc fixes

----------------------------------------------------------------
Chen Ni (1):
libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value

Greg Kroah-Hartman (1):
testing: nvdimm: make struct class structures constant

Justin Stitt (1):
dax: refactor deprecated strncpy

Kees Cook (1):
libnvdimm: Annotate struct nd_region with __counted_by

Tomas Glozar (1):
nd_btt: Make BTT lanes preemptible

Zhu Wang (1):
libnvdimm: remove kernel-doc warnings:

drivers/dax/bus.c | 2 +-
drivers/nvdimm/badrange.c | 4 ++--
drivers/nvdimm/nd.h | 2 +-
drivers/nvdimm/of_pmem.c | 8 +++++++-
drivers/nvdimm/region_devs.c | 10 +++++-----
tools/testing/nvdimm/test/ndtest.c | 17 +++++++++--------
tools/testing/nvdimm/test/nfit.c | 14 +++++++-------
7 files changed, 32 insertions(+), 25 deletions(-)