diff options
author | Dan Williams <[email protected]> | 2021-09-08 22:11:42 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2021-09-21 13:44:55 -0700 |
commit | 8172db92527c936c638b52274fbd06a0a624a56b (patch) | |
tree | 9cc931dfba36b5cb0350afcc7ae08a1a83fe4b28 /drivers/fpga/fpga-mgr.c | |
parent | d1c6e08e7503649e4a4f3f9e700e2c05300b6379 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/163116430293.2460985.12693942353621355232.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions