diff options
| author | Dan Williams <[email protected]> | 2016-09-19 20:49:48 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2016-09-19 20:49:48 +0000 |
| commit | 9d15ce9caaf9ecbec74e3be156a4a57451ed16c2 (patch) | |
| tree | 079c4f3a0d87cada5ff0aea0429cacb7a0c40632 /net/switchdev/switchdev.c | |
| parent | nvdimm: fix PHYS_PFN/PFN_PHYS mixup (diff) | |
| download | kernel-9d15ce9caaf9ecbec74e3be156a4a57451ed16c2.tar.gz kernel-9d15ce9caaf9ecbec74e3be156a4a57451ed16c2.zip | |
tools/testing/nvdimm: fix allocation range for mock flush hint tables
Commit 480b6837aa57 "nvdimm: fix PHYS_PFN/PFN_PHYS mixup" identified
that we were passing an invalid address to devm_nvdimm_ioremap(). With
that fixed it exposed a bug in the memory reservation size for flush
hint tables. Since we map a full page we need to mock a full page of
memory to back the flush hint table entries.
Cc: Oliver O'Halloran <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
