virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] virtio_ring: check desc == NULL when using indirect with packed
@ 2021-10-20 11:05 Xuan Zhuo
  2021-10-20 11:05 ` [PATCH v5 1/2] virtio_ring: make virtqueue_add_indirect_packed prettier Xuan Zhuo
  2021-10-20 11:05 ` [PATCH v5 2/2] virtio_ring: check desc == NULL when using indirect with packed Xuan Zhuo
  0 siblings, 2 replies; 4+ messages in thread
From: Xuan Zhuo @ 2021-10-20 11:05 UTC (permalink / raw)
  To: Michael S. Tsirkin, virtualization; +Cc: David S. Miller, Tiwei Bie

Fix theoretical issues in virtio_ring.

v5:
    Update commit message.

v4:
    Inside the #2 patch, virtqueue_add_indirect_packed() return -EAGAIN when
    desc == NULL.

v3:
    Update commit message of the #1 patch.

v2:
    Separate the style fix into a single patch.


Xuan Zhuo (2):
  virtio_ring: make virtqueue_add_indirect_packed prettier
  virtio_ring: check desc == NULL when using indirect with packed

 drivers/virtio/virtio_ring.c | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

--
2.31.0

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-20 11:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-20 11:05 [PATCH v5 0/2] virtio_ring: check desc == NULL when using indirect with packed Xuan Zhuo
2021-10-20 11:05 ` [PATCH v5 1/2] virtio_ring: make virtqueue_add_indirect_packed prettier Xuan Zhuo
2021-10-20 11:05 ` [PATCH v5 2/2] virtio_ring: check desc == NULL when using indirect with packed Xuan Zhuo
2021-10-20 11:09   ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).