Wei Huang 20077edf5f raw/ifpga/base: check null pointer
In init_sec_mgr(), pointer "hw" may be NULL, so "hw" should
be checked before dereferencing.

Coverity issue: 367483
Fixes: a05bd1b40bde ("raw/ifpga: add FPGA RSU APIs")

Signed-off-by: Wei Huang <wei.huang@intel.com>
Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
2021-04-01 13:52:35 +02:00
..
2021-04-01 13:52:35 +02:00
2021-04-08 18:32:31 +02:00
2020-10-22 14:16:22 +02:00
2021-04-08 18:32:31 +02:00