Re: [PATCH] common/cnxk: fix missing null check for inline device

2022-05-02 Thread Jerin Jacob
On Mon, Mar 28, 2022 at 4:11 PM Volodymyr Fialko wrote: > > Inline device could be null in cases when it was not bound or missing. > Added check to prevent null pointer access. > > Fixes: fe5846bcc07 ("net/cnxk: add devargs for min-max SPI") > > Cc: sta...@dpdk.org > > Signed-off-by: Volodymyr Fia

[PATCH] common/cnxk: fix missing null check for inline device

2022-03-28 Thread Volodymyr Fialko
Inline device could be null in cases when it was not bound or missing. Added check to prevent null pointer access. Fixes: fe5846bcc07 ("net/cnxk: add devargs for min-max SPI") Cc: sta...@dpdk.org Signed-off-by: Volodymyr Fialko --- drivers/common/cnxk/roc_nix_inl.c | 2 ++ 1 file changed, 2 in