diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-09-07 10:32:24 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-09-14 18:10:42 -0400 |
commit | 6243e3c78ace66d337a1e43b60a1aa8f5b61bd72 (patch) | |
tree | e7557f7b9d362eb8e51f8bad33ad9910cb8b1e01 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | 0d818706130e2f4e828c3fc028917677fac76a09 (diff) |
vduse: missing error code in vduse_init()
This should return -ENOMEM if alloc_workqueue() fails. Currently it
returns success.
Fixes: b66219796563 ("vduse: Introduce VDUSE - vDPA Device in Userspace")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210907073223.GA18254@kili
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions