From 88609d4b4eead76b4b4de7cfe3d98902c293f6d6 Mon Sep 17 00:00:00 2001 From: Min M Xu Date: Wed, 7 Aug 2024 21:06:42 -0400 Subject: [PATCH] Copy caps in cxl_ide_km_query caps is forgotten to be copied in cxl_ide_km_query respose. Signed-off-by: Min M Xu --- library/cxl_ide_km_requester_lib/cxl_ide_km_req_query.c | 1 + 1 file changed, 1 insertion(+) diff --git a/library/cxl_ide_km_requester_lib/cxl_ide_km_req_query.c b/library/cxl_ide_km_requester_lib/cxl_ide_km_req_query.c index 7d31a7a..b714413 100644 --- a/library/cxl_ide_km_requester_lib/cxl_ide_km_req_query.c +++ b/library/cxl_ide_km_requester_lib/cxl_ide_km_req_query.c @@ -86,6 +86,7 @@ libspdm_return_t cxl_ide_km_query(const void *pci_doe_context, *bus_num= response.bus_num; *segment= response.segment; *max_port_index= response.max_port_index; + *caps = response.caps; libspdm_copy_mem (ide_reg_buffer, *ide_reg_buffer_count * sizeof(uint32_t), response.ide_reg_block,