aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvdimm/region_devs.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-03-01 00:03:37 -0800
committerDan Williams <dan.j.williams@intel.com>2017-03-01 00:09:51 -0800
commitdf06a2d57711a1472ced72207373eeb6422d4721 (patch)
treebb17d678dda8242047e3f88c50a66c9abc892bbf /drivers/nvdimm/region_devs.c
parentc470abd4fde40ea6a0846a2beab642a578c0b8cd (diff)
tools/testing/nvdimm: make iset cookie predictable
For testing changes to the iset cookie algorithm we need a value that is constant from run-to-run. Stop including dynamic data in the emulated region_offset values. Also, pick values that sort in a different order depending on whether the comparison is a memcmp() of two 8-byte arrays or subtraction of two 64-bit values. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/region_devs.c')
0 files changed, 0 insertions, 0 deletions