summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2021-09-08 22:11:42 -0700
committerDan Williams <dan.j.williams@intel.com>2021-09-21 13:44:55 -0700
commit8172db92527c936c638b52274fbd06a0a624a56b (patch)
tree9cc931dfba36b5cb0350afcc7ae08a1a83fe4b28 /Makefile
parentd1c6e08e7503649e4a4f3f9e700e2c05300b6379 (diff)
downloadlinux-8172db92527c936c638b52274fbd06a0a624a56b.tar.gz
linux-8172db92527c936c638b52274fbd06a0a624a56b.tar.bz2
linux-8172db92527c936c638b52274fbd06a0a624a56b.zip
libnvdimm/label: Add a helper for nlabel validation
In the CXL namespace label there is no need for nlabel since that is inferred from the region. Add a helper that moves nsl_get_label() behind a helper that validates the number of labels relative to the region. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/163116430293.2460985.12693942353621355232.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions