> -----Original Message-----
> From: Huang, Wei <wei.hu...@intel.com>
> Sent: Thursday, April 8, 2021 4:52 PM
> To: dev@dpdk.org; Xu, Rosen <rosen...@intel.com>; Zhang, Qi Z
> <qi.z.zh...@intel.com>
> Cc: sta...@dpdk.org; Zhang, Tianfei <tianfei.zh...@intel.com>; Yigit, Ferruh
> <ferruh.yi...@intel.com>; Huang, Wei <wei.hu...@intel.com>
> Subject: [PATCH v2 1/1] raw/ifpga/base: check size before assigning
>
> In max10_staging_area_init(), variable "size" from fdt_get_reg() may be
> invalid,
> it should be checked before assigning to member variable "staging_area_size"
> of structure "intel_max10_device".
>
> Coverity issue: 367480, 367482
> Fixes: 96ebfcf8125c ("raw/ifpga/base: add SPI and MAX10 device driver")
>
> Signed-off-by: Wei Huang <wei.hu...@intel.com>
> ---
Applied to dpdk-next-net-intel.
Thanks
Qi