> -----Original Message-----
> From: Yang, SteveX <[email protected]>
> Sent: Monday, February 7, 2022 4:26 PM
> To: [email protected]
> Cc: Yang, Qiming <[email protected]>; Zhang, Qi Z
> <[email protected]>; Yang, SteveX <[email protected]>;
> [email protected]
> Subject: [PATCH v1] net/ice: fix dereference before null check
>
> This patch fixes coverity issue by assigning the address of the "info->data"
> without "info" pointer check.
>
> CID 375065: Null pointer dereferences (REVERSE_INULL) Null-checking
> "info" suggests that it may be null, but it has already been dereferenced on
> all paths leading to the check.
>
> Coverity issue: 375065
> Fixes: fd8480e61490 ("net/ice: support module EEPROM")
> Cc: [email protected]
>
> Signed-off-by: Steve Yang <[email protected]>
Acked-by: Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi