diff options
author | Toshi Kani <toshi.kani@hpe.com> | 2018-02-23 22:59:22 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-03-15 21:59:57 +0100 |
commit | 9e694d9c18dde0fa57ec067043b581bd57c9fb65 (patch) | |
tree | 7d5634572ffbbeaa7088f278d814d8cdfb85d839 /drivers/irqchip/irq-atmel-aic.c | |
parent | libnvdimm, label: change min label storage size per UEFI 2.7 (diff) | |
download | linux-9e694d9c18dde0fa57ec067043b581bd57c9fb65.tar.xz linux-9e694d9c18dde0fa57ec067043b581bd57c9fb65.zip |
libnvdimm, label: change nvdimm_num_label_slots per UEFI 2.7
sizeof_namespace_index() fails when NVDIMM devices have the minimum
1024 bytes label storage area. nvdimm_num_label_slots() returns 3
slots while the area is only big enough for 2 slots.
Change nvdimm_num_label_slots() to calculate a number of label slots
according to UEFI 2.7 spec.
Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/irqchip/irq-atmel-aic.c')
0 files changed, 0 insertions, 0 deletions