Re: [dpdk-dev] [PATCH] net/pfe: do not use a possibly NULL Pointer

2021-05-24 Thread Gagandeep Singh
> -Original Message- > From: Thierry Herbelot > Sent: Monday, May 24, 2021 2:29 PM > To: dev@dpdk.org > Cc: Thierry Herbelot ; Thomas Monjalon > ; sta...@dpdk.org; Gagandeep Singh > > Subject: [PATCH] net/pfe: do not use a possibly NULL Pointer > > Use dev only after it was checked no

[dpdk-dev] [PATCH] net/pfe: do not use a possibly NULL Pointer

2021-05-24 Thread Thierry Herbelot
Use dev only after it was checked not to be NULL. Fixes: acd4818ea2a45 ("net/pfe: add link status update") Cc: sta...@dpdk.org Cc: Gagandeep Singh Signed-off-by: Thierry Herbelot --- drivers/net/pfe/pfe_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/