diff mbox series

[ndctl,v3,1/3] libcxl: Update a outdated value to the latest revision

Message ID 20230810082354.5992-2-jehoon.park@samsung.com
State New, archived
Headers show
Series [ndctl,v3,1/3] libcxl: Update a outdated value to the latest revision | expand

Commit Message

Jehoon Park Aug. 10, 2023, 8:23 a.m. UTC
Update the predefined value for device temperature field when it is not
implemented. (Revised in CXL 2.0 Errata F38)

Signed-off-by: Jehoon Park <jehoon.park@samsung.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 cxl/lib/private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)
 {