diff options
author | 2021-05-15 10:04:58 +0800 | |
---|---|---|
committer | 2021-05-24 12:14:18 -0600 | |
commit | d1ce2c79156d3baf0830990ab06d296477b93c26 (patch) | |
tree | af08d700bfb10cf857511d6824abfddc058a68b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.13-rc2 (diff) | |
download | wireguard-linux-d1ce2c79156d3baf0830990ab06d296477b93c26.tar.xz wireguard-linux-d1ce2c79156d3baf0830990ab06d296477b93c26.zip |
vfio/pci: Fix error return code in vfio_ecap_init()
The error code returned from vfio_ext_cap_len() is stored in 'len', not
in 'ret'.
Fixes: 89e1f7d4c66d ("vfio: Add PCI device driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Message-Id: <20210515020458.6771-1-thunder.leizhen@huawei.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions