diff options
author | Fan Ni <fan.ni@samsung.com> | 2024-11-01 13:20:05 +0000 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-11-04 16:03:25 -0500 |
commit | 802671c37a6ab4de116866883841bcc8b2318124 (patch) | |
tree | 82507b7e4f5166d632642ac03f3e26a5559f4865 /hw/cxl/cxl-cdat.c | |
parent | 0564019bf1d9dd76ee7d212c26cf40e73eb3a00c (diff) |
hw/cxl/cxl-mailbox-util: Fix output buffer index update when retrieving DC extents
In the function of retrieving DC extents (cmd_dcd_get_dyn_cap_ext_list),
the output buffer index was not correctly updated while iterating the
extent list on the device, leaving the extents returned incorrect except for
the first one.
Fixes: 1c9221f19e62 ("hw/mem/cxl_type3: Add DC extent list representative and get DC extent list mailbox support")
Signed-off-by: Fan Ni <fan.ni@samsung.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20241101132005.26633-3-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/cxl/cxl-cdat.c')
0 files changed, 0 insertions, 0 deletions