Re: [dpdk-dev] [PATCH] compress/zlib: fix coverity warning

2019-07-26 Thread Akhil Goyal
> Add missing return after setting the error status in case of > invalid flush_flag in the operation. > The issue was found by the coverity scan as the fin_flush variable, > not initialized in such case, was used later in the flow. > > CID 340859: Uninitialized variables (UNINIT) > > Fixes: c

Re: [dpdk-dev] [PATCH] compress/zlib: fix coverity warning

2019-07-25 Thread Trahe, Fiona
Including Sunila, the zlib PMD maintainer. > -Original Message- > From: Dybkowski, AdamX > Sent: Wednesday, July 24, 2019 9:43 AM > To: dev@dpdk.org; Trahe, Fiona ; > shally.ve...@caviumnetworks.com > Cc: Dybkowski, AdamX > Subject: [PATCH] compress/zlib: fix coverity warning > > Add mi

[dpdk-dev] [PATCH] compress/zlib: fix coverity warning

2019-07-24 Thread Adam Dybkowski
Add missing return after setting the error status in case of invalid flush_flag in the operation. The issue was found by the coverity scan as the fin_flush variable, not initialized in such case, was used later in the flow. CID 340859: Uninitialized variables (UNINIT) Fixes: c7b436ec95fd ("comp