]> www.infradead.org Git - users/dwmw2/linux.git/commit
tools/testing/nvdimm: Fix support for emulating controller temperature
authorDan Williams <dan.j.williams@intel.com>
Wed, 13 Jun 2018 21:31:18 +0000 (14:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2018 06:39:40 +0000 (08:39 +0200)
commit67a281a8bee9a368ba0a06211f11095c71093e0f
tree1977144b68379e5de969a9e44b29b5d16d6d2d09
parent22df0497e1046903ff0199f2041e7e4bc7935805
tools/testing/nvdimm: Fix support for emulating controller temperature

[ Upstream commit e5d772fbe7685aae0dff99f3b54158a0ec32155e ]

In addition to populating the value the payload also needs to set the
"controller temperature valid" flag.

Fixes: cdd77d3e1930 ("nfit, libnvdimm: deprecate the generic SMART ioctl")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/nvdimm/test/nfit.c