projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23118b0
)
vdpa: Mark vdpa_config_ops.get_vq_notification as optional
author
Eugenio Pérez
<eperezma@redhat.com>
Thu, 4 Nov 2021 19:52:48 +0000
(20:52 +0100)
committer
Michael S. Tsirkin
<mst@redhat.com>
Fri, 14 Jan 2022 23:50:52 +0000
(18:50 -0500)
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
patch
|
blob
|
history
diff --git
a/include/linux/vdpa.h
b/include/linux/vdpa.h
index ae34015b37b7b44c0015fdd24ed76b7f3e11fb93..2b7db96bb7d34d23c14d46460fbf6fdaac4d3182 100644
(file)
--- a/
include/linux/vdpa.h
+++ b/
include/linux/vdpa.h
@@
-157,7
+157,7
@@
struct vdpa_map_file {
* @vdev: vdpa device
* @idx: virtqueue index
* @state: pointer to returned state (last_avail_idx)
- * @get_vq_notification: Get the notification area for a virtqueue
+ * @get_vq_notification: Get the notification area for a virtqueue
(optional)
* @vdev: vdpa device
* @idx: virtqueue index
* Returns the notifcation area