vdpa/sfc: fix null dereference during config
authorWeiguo Li <liwg06@foxmail.com>
Sat, 29 Jan 2022 18:07:30 +0000 (02:07 +0800)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Thu, 10 Feb 2022 15:07:34 +0000 (16:07 +0100)
commitd8875804e00b37a80efc6e1c97ac57f8ac2c7d91
tree4da051bf7a58a204b74f47a9d558fe7923a4992f
parent67cdaea00cd6ec72dc05386b80525157a9cf2018
vdpa/sfc: fix null dereference during config

Fixes: b11961363b4a ("vdpa/sfc: support device configure and close")
Cc: stable@dpdk.org
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/vdpa/sfc/sfc_vdpa_ops.c