OSDN Git Service

vdpa: Mark vdpa_config_ops.get_vq_notification as optional
authorEugenio Pérez <eperezma@redhat.com>
Thu, 4 Nov 2021 19:52:48 +0000 (20:52 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 14 Jan 2022 23:50:52 +0000 (18:50 -0500)
commit28cc408be72cebb0f3fcc37bc74ab3196d4de726
treeffa5faa4f7b31586f3372963e6c5128bbda54698
parent23118b09e6e11a03cb40a86875d5d342257ae1ec
vdpa: Mark vdpa_config_ops.get_vq_notification as optional

Since vhost_vdpa_mmap checks for its existence before calling it.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Link: https://lore.kernel.org/r/20211104195248.2088904-1-eperezma@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
include/linux/vdpa.h