summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-05-15 05:04:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-10 14:24:04 +0300
commitc953aee0d8a162d249dedaa47111e95dde0461cd (patch)
treea8c04f638ed4810d52e3793cc94683704616992d /samples
parentdd47a33e11fdd6c9d31570500e6ecc369ba1f08e (diff)
downloadlinux-c953aee0d8a162d249dedaa47111e95dde0461cd.tar.xz
vfio/pci: Fix error return code in vfio_ecap_init()
[ Upstream commit d1ce2c79156d3baf0830990ab06d296477b93c26 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions