[PATCH] vdpa/sfc: fix null pointer dereference
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Feb 10 15:37:59 CET 2022
Hi,
On 2/4/22 12:56, Weiguo Li wrote:
> The macro sfc_vdpa_info(sva, ...) will invoke sva->logtype_main,
> It'll trigger a NULL dereference when sva is NULL.
>
> This patch fix it.
>
> BTW this patch is not superseded by another one:
> [v2] vdpa/sfc: fix null dereference
> (http://dpdk.org/patch/106720)
>
> They looks alike in title, but deal with different files.
>
> Please don't tag me as superseded again :)
>
Got it, having commit titles being more specific would help to avoid
that! :)
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list