From: David S. Miller Date: Wed, 11 Apr 2018 14:54:06 +0000 (-0400) Subject: Merge branch 'vhost-fix-vhost_vq_access_ok-log-check' X-Git-Tag: Ubuntu-5.13.0-19.19~11210^2~5 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=949989b36c2261125a7d01a4ca3d5b5ee64da05c;p=mirror_ubuntu-jammy-kernel.git Merge branch 'vhost-fix-vhost_vq_access_ok-log-check' 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 Acked-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- 949989b36c2261125a7d01a4ca3d5b5ee64da05c