aboutsummaryrefslogtreecommitdiff
path: root/include/hw/cxl/cxl_pci.h
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2022-04-01 10:28:24 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-05-13 05:22:31 -0400
commit250227f4fa4efd6032da6c39d8fb2e6c9192d6ce (patch)
treed8172299df55dbcc2279ba31bcecdac06dced276 /include/hw/cxl/cxl_pci.h
parent06134e2bc35dc21543d4cbcf31f858c03d383442 (diff)
downloadqemu-250227f4fa4efd6032da6c39d8fb2e6c9192d6ce.zip
qemu-250227f4fa4efd6032da6c39d8fb2e6c9192d6ce.tar.gz
qemu-250227f4fa4efd6032da6c39d8fb2e6c9192d6ce.tar.bz2
intel-iommu: correct the value used for error_setg_errno()
error_setg_errno() expects a normal errno value, not a negated one, so we should use ENOTSUP instead of -ENOSUP. Fixes: Coverity CID 1487174 Fixes: ("intel_iommu: support snoop control") Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20220401022824.9337-1-jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include/hw/cxl/cxl_pci.h')
0 files changed, 0 insertions, 0 deletions