[PATCH 4.18 194/235] tools/testing/nvdimm: Fix support for emulating controller temperature