mbox series

[v2,0/2] raw/ifpga/base: fix defects found by coverity scan

Message ID 1604541940-5994-1-git-send-email-wei.huang@intel.com (mailing list archive)
Headers
Series raw/ifpga/base: fix defects found by coverity scan |

Message

Wei Huang Nov. 5, 2020, 2:05 a.m. UTC
  Two issues are introduced from previous patch, one resides in 
ifpga_fme.c and the other resides in opae_hw_api.c. Below two
patches are provided to fix them separately.

Main changes from v2:
- Fix coding style issue

Wei Huang (2):
  raw/ifpga/base: unlock mutex when nios init fail
  raw/ifpga/base: check pointer adapter before dereference

 drivers/raw/ifpga/base/ifpga_fme.c   |  2 ++
 drivers/raw/ifpga/base/opae_hw_api.c | 10 ++++++----
 2 files changed, 8 insertions(+), 4 deletions(-)
  

Comments

Qi Zhang Nov. 9, 2020, 9:41 a.m. UTC | #1
> -----Original Message-----
> From: Huang, Wei <wei.huang@intel.com>
> Sent: Thursday, November 5, 2020 10:06 AM
> To: dev@dpdk.org; Xu, Rosen <rosen.xu@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>
> Cc: stable@dpdk.org; Huang, Wei <wei.huang@intel.com>
> Subject: [PATCH v2 0/2] raw/ifpga/base: fix defects found by coverity scan
> 
> Two issues are introduced from previous patch, one resides in ifpga_fme.c and
> the other resides in opae_hw_api.c. Below two patches are provided to fix
> them separately.
> 
> Main changes from v2:
> - Fix coding style issue
> 
> Wei Huang (2):
>   raw/ifpga/base: unlock mutex when nios init fail
>   raw/ifpga/base: check pointer adapter before dereference
> 
>  drivers/raw/ifpga/base/ifpga_fme.c   |  2 ++
>  drivers/raw/ifpga/base/opae_hw_api.c | 10 ++++++----
>  2 files changed, 8 insertions(+), 4 deletions(-)
> 
> --
> 2.29.2

Applied to dpdk-next-net-intel.

Thanks
Qi