diff options
| author | 2021-09-07 10:32:24 +0300 | |
|---|---|---|
| committer | 2021-09-14 18:10:42 -0400 | |
| commit | 6243e3c78ace66d337a1e43b60a1aa8f5b61bd72 (patch) | |
| tree | e7557f7b9d362eb8e51f8bad33ad9910cb8b1e01 /tools/perf/scripts/python/stat-cpi.py | |
| parent | virtio: don't fail on !of_device_is_compatible (diff) | |
| download | linux-dev-6243e3c78ace66d337a1e43b60a1aa8f5b61bd72.tar.xz linux-dev-6243e3c78ace66d337a1e43b60a1aa8f5b61bd72.zip | |
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/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
