summaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2023-08-19 10:37:16 +0800
committerAlex Williamson <alex.williamson@redhat.com>2023-08-21 08:50:33 -0600
commit2d12d18f14d9e6e2dcbc3e5942d718e6d4e028a5 (patch)
tree92d3edd27ed6bc1b8b331f2d17fcd564c29ddd21 /Documentation/networking
parent06d220f13b1f05488f780c23065e765acab5ce56 (diff)
downloadlinux-stable-2d12d18f14d9e6e2dcbc3e5942d718e6d4e028a5.tar.gz
linux-stable-2d12d18f14d9e6e2dcbc3e5942d718e6d4e028a5.tar.bz2
linux-stable-2d12d18f14d9e6e2dcbc3e5942d718e6d4e028a5.zip
vfio/pds: fix return value in pds_vfio_get_lm_file()
anon_inode_getfile() never returns NULL pointer, it will return ERR_PTR() when it fails, so replace the check with IS_ERR(). Fixes: bb500dbe2ac6 ("vfio/pds: Add VFIO live migration support") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Brett Creeley <brett.creeley@amd.com> Link: https://lore.kernel.org/r/20230819023716.3469037-1-yangyingliang@huawei.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions