]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
Merge branch 'vhost-fix-vhost_vq_access_ok-log-check'
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 Apr 2018 14:54:06 +0000 (10:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Apr 2018 14:54:06 +0000 (10:54 -0400)
Stefan Hajnoczi says:

====================
vhost: fix vhost_vq_access_ok() log check

v3:
 * Rebased onto net/master and resolved conflict [DaveM]

v2:
 * Rewrote the conditional to make the vq access check clearer [Linus]
 * Added Patch 2 to make the return type consistent and harder to misuse [Linus]

The first patch fixes the vhost virtqueue access check which was recently
broken.  The second patch replaces the int return type with bool to prevent
future bugs.
====================

Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge