]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit732dcd59d18a872dd76c6c104c502ec71f663b3c
treee55d8ec43f5c5ce6d42a3af79d69361113819d7b
parentf6055ebb73da1fd600f035d7a64f456a6ee4c8ec
parent4f8d7c2dc32e610c45464fd91d4e42fd6bcf2ffb
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 <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>