]> 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)
commite594017261abe694def9a80603ead7696237feaa
tree7a8e8bbc1c2d08ecdb8b0250ababae57949c5302
parent399ac85acd830c5c29e84713ec539c2eb88c7c84
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