]> git.baikalelectronics.ru Git - kernel.git/commit
vfio-mdev: fix some error codes in the sample code
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Nov 2016 11:27:26 +0000 (14:27 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 4 Jan 2017 15:32:23 +0000 (08:32 -0700)
commitd293dbaa540b5800817cc10832d764b17cc211b5
tree7a8e8bbc1c2d08ecdb8b0250ababae57949c5302
parent45e869714489431625c569d21fc952428d761476
vfio-mdev: fix some error codes in the sample code

This is just sample code.  We forget to set the error codes in a couple
places.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
samples/vfio-mdev/mtty.c