Skip to content
Snippets Groups Projects
Commit f37f4712 authored by Pankaj Gupta's avatar Pankaj Gupta Committed by Michael S. Tsirkin
Browse files

virtio pmem: fix wrong mem region condition


Coverity reported memory region returns zero
for non-null value. This is because of wrong
arguments to '?:' , fixing this.

Signed-off-by: default avatarPankaj Gupta <pagupta@redhat.com>
Message-Id: <20190712073554.21918-2-pagupta@redhat.com>
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
parent 7b9829bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment