On 7/8/22 07:57, Andy Pei wrote:
Fix null pointer dereference reported in coverity scan.
Output some log information when lm_cfg is null.
Make lm_cfg is not null before operate on lm_cfg.
Make sure*
Coverity issue: 378882
Fixes: d7fe5a2861e7 ("net/ifc: support live migration")
Signed-off-by: Andy Pei <[email protected]>
---
drivers/vdpa/ifc/base/ifcvf.c | 31 ++++++++++++++++++++-----------
drivers/vdpa/ifc/base/ifcvf_osdep.h | 1 +
2 files changed, 21 insertions(+), 11 deletions(-)
Reviewed-by: Maxime Coquelin <[email protected]>
Thanks,
Maxime