aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorGregory Price <gourry.memverge@gmail.com>2023-02-06 17:28:10 +0000
committerMichael S. Tsirkin <mst@redhat.com>2023-03-02 19:13:52 -0500
commit1c580bed9ab52c5207b49e15085f069b25d282a8 (patch)
tree87c0b1bd2826c10e9e72db27b82180a76f6337fe /linux-user
parent2ef5063610016a75351fe3cd32879f11323d5927 (diff)
downloadqemu-1c580bed9ab52c5207b49e15085f069b25d282a8.zip
qemu-1c580bed9ab52c5207b49e15085f069b25d282a8.tar.gz
qemu-1c580bed9ab52c5207b49e15085f069b25d282a8.tar.bz2
hw/cxl: Add CXL_CAPACITY_MULTIPLIER definition
Remove usage of magic numbers when accessing capacity fields and replace with CXL_CAPACITY_MULTIPLIER, matching the kernel definition. Signed-off-by: Gregory Price <gregory.price@memverge.com> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20230206172816.8201-5-Jonathan.Cameron@huawei.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions