diff options
| author | Yang Yingliang <[email protected]> | 2023-08-19 02:37:16 +0000 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2023-08-21 14:50:33 +0000 |
| commit | 2d12d18f14d9e6e2dcbc3e5942d718e6d4e028a5 (patch) | |
| tree | 92d3edd27ed6bc1b8b331f2d17fcd564c29ddd21 /tools/perf/scripts/python/netdev-times.py | |
| parent | pds_core: Fix function header descriptions (diff) | |
| download | kernel-2d12d18f14d9e6e2dcbc3e5942d718e6d4e028a5.tar.gz kernel-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 <[email protected]>
Reviewed-by: Brett Creeley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
