On Mon, 07 Aug 2023, Jehoon Park wrote:

Update the predefined value for device temperature field when it is not
implemented. (CXL 3.0.8.2.9.8.3.1)

Signed-off-by: Jehoon Park <[email protected]>

With Jonathan's feedback in the changelog,

Reviewed-by: Davidlohr Bueso <[email protected]>

---
cxl/lib/private.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cxl/lib/private.h b/cxl/lib/private.h
index a641727..a692fd5 100644
--- a/cxl/lib/private.h
+++ b/cxl/lib/private.h
@@ -360,7 +360,7 @@ struct cxl_cmd_set_partition {
#define CXL_CMD_HEALTH_INFO_EXT_CORRECTED_PERSISTENT_WARNING            (1)

#define CXL_CMD_HEALTH_INFO_LIFE_USED_NOT_IMPL                          0xff
-#define CXL_CMD_HEALTH_INFO_TEMPERATURE_NOT_IMPL                       0xffff
+#define CXL_CMD_HEALTH_INFO_TEMPERATURE_NOT_IMPL                       0x7fff

static inline int check_kmod(struct kmod_ctx *kmod_ctx)
{
--
2.17.1


Reply via email to