[0/8] fix some coverity issues

Message ID 20240314070536.3169210-1-chaoyong.he@corigine.com (mailing list archive)
Headers
Series fix some coverity issues |

Message

Chaoyong He March 14, 2024, 7:05 a.m. UTC
  This patch series fix some coverity issues, includes:
- 414936
- 414937
- 414938
- 414939
- 414941
- 414942
- 415042
- 415051

Chaoyong He (6):
  net/nfp: fix return value check
  net/nfp: fix string overflow
  net/nfp: fix unreachable control flow
  net/nfp: fix check return value
  net/nfp: fix unreachable loop flow
  net/nfp: fix null pointer dereference

Peng Zhang (2):
  net/nfp: fix dereference after null check
  net/nfp: fix tainted scalar

 drivers/net/nfp/flower/nfp_flower.c |  3 ++-
 drivers/net/nfp/nfp_ethdev.c        |  1 -
 drivers/net/nfp/nfp_net_flow.c      | 11 ++++++++---
 drivers/net/nfp/nfp_service.c       |  9 ++++++++-
 drivers/net/nfp/nfpcore/nfp_elf.c   | 17 ++++++++++++-----
 drivers/net/nfp/nfpcore/nfp_sync.c  |  3 ++-
 6 files changed, 32 insertions(+), 12 deletions(-)
  

Comments

Ferruh Yigit March 14, 2024, 10:58 a.m. UTC | #1
On 3/14/2024 7:05 AM, Chaoyong He wrote:
> This patch series fix some coverity issues, includes:
> - 414936
> - 414937
> - 414938
> - 414939
> - 414941
> - 414942
> - 415042
> - 415051
> 
> Chaoyong He (6):
>   net/nfp: fix return value check
>   net/nfp: fix string overflow
>   net/nfp: fix unreachable control flow
>   net/nfp: fix check return value
>   net/nfp: fix unreachable loop flow
>   net/nfp: fix null pointer dereference
> 
> Peng Zhang (2):
>   net/nfp: fix dereference after null check
>   net/nfp: fix tainted scalar
>

Series applied to dpdk-next-net/main, thanks.
  
Ferruh Yigit March 14, 2024, 11:01 a.m. UTC | #2
On 3/14/2024 10:58 AM, Ferruh Yigit wrote:
> On 3/14/2024 7:05 AM, Chaoyong He wrote:
>> This patch series fix some coverity issues, includes:
>> - 414936
>> - 414937
>> - 414938
>> - 414939
>> - 414941
>> - 414942
>> - 415042
>> - 415051
>>
>> Chaoyong He (6):
>>   net/nfp: fix return value check
>>   net/nfp: fix string overflow
>>   net/nfp: fix unreachable control flow
>>   net/nfp: fix check return value
>>   net/nfp: fix unreachable loop flow
>>   net/nfp: fix null pointer dereference
>>
>> Peng Zhang (2):
>>   net/nfp: fix dereference after null check
>>   net/nfp: fix tainted scalar
>>
> 
> Series applied to dpdk-next-net/main, thanks.
>

Replied to wrong patch, v2 of series applied.