diff options
| author | Toshi Kani <[email protected]> | 2018-02-23 14:59:21 -0700 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2018-03-15 10:44:32 -0700 |
| commit | 36de6f518f2e323cb82683d1ee5f62c48b05e8ee (patch) | |
| tree | 1b0bba64c7ae68f02c190f4111258fdeefa77933 /lib/test_overflow.c | |
| parent | d812b0d500040b8c7b9c7a93f29be0a010eb09d1 (diff) | |
libnvdimm, label: change min label storage size per UEFI 2.7
UEFI 2.7 defines in page 758 that:
Initial Label Storage Area Configuration
:
The minimum size of the Label Storage Area is large enough to
hold 2 index blocks and 2 labels.
The mininum index block size is 256 bytes, and the minimum label size
is also 256 bytes.
Change ND_LABEL_MIN_SIZE to (256 * 4) so that NVDIMM devices with
the minimum label storage area do not fail with the size check in
nvdimm_init_config_data().
Signed-off-by: Toshi Kani <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions