diff options
author | Dan Williams <dan.j.williams@intel.com> | 2021-09-09 07:11:42 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-09-21 22:44:55 +0200 |
commit | 8172db92527c936c638b52274fbd06a0a624a56b (patch) | |
tree | 9cc931dfba36b5cb0350afcc7ae08a1a83fe4b28 /drivers/gpio/TODO | |
parent | libnvdimm/labels: Add uuid helpers (diff) | |
download | linux-8172db92527c936c638b52274fbd06a0a624a56b.tar.xz 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 'drivers/gpio/TODO')
0 files changed, 0 insertions, 0 deletions