[PATCH] raw/ifpga/base: check pointer before dereference

Thomas Monjalon thomas at monjalon.net
Sun Jun 26 12:21:36 CEST 2022


> > Do null-checking on hw->adapter in fme_pmci_init() before dereference it.
> > 
> > Coverity issue: 379202
> > Fixes: ca6eb0f7c836 ("raw/ifpga/base: add PMCI base driver")
> > 
> > Signed-off-by: Wei Huang <wei.huang at intel.com>
> 
> It looks good for me.
> 
> Acked-by: Tianfei Zhang <tianfei.zhang at intel.com>

Applied, thanks.





More information about the stable mailing list