diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-10-23 17:07:50 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-11-07 03:39:11 -0500 |
| commit | a7bb53b1eee6836d29003a8ffbd2c2c4c55a40c2 (patch) | |
| tree | 3280650cd87673991a63b8a344bda66ea65ecd5d /hw/cxl/cxl-device-utils.c | |
| parent | 45234c2dd2920f16f768bda1ec8353bda8c5a929 (diff) | |
| download | focaccia-qemu-a7bb53b1eee6836d29003a8ffbd2c2c4c55a40c2.tar.gz focaccia-qemu-a7bb53b1eee6836d29003a8ffbd2c2c4c55a40c2.zip | |
hw/cxl/mbox: Pull the payload out of struct cxl_cmd and make instances constant
Putting the pointer in the structure for command handling puts a single variable element inside an otherwise constant structure. Move it out as a directly passed variable and take the cxl_cmd structures constant. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Message-Id: <20231023160806.13206-2-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-device-utils.c')
0 files changed, 0 insertions, 0 deletions