Re: [dpdk-dev] [dpdk-stable] [PATCH] bus/dpaa: fix fd check before close

2020-09-15 Thread wangyunjian
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Tuesday, September 15, 2020 1:24 AM > To: wangyunjian ; dev@dpdk.org; > hemant.agra...@nxp.com; sachin.sax...@nxp.com > Cc: Lilijun (Jerry) ; xudingke > ; sta...@dpdk.org > Subject: Re: [dpdk-stable] [dpdk-d

Re: [dpdk-dev] [dpdk-stable] [PATCH] bus/dpaa: fix fd check before close

2020-09-14 Thread Ferruh Yigit
On 8/26/2020 12:54 PM, wangyunjian wrote: > From: Yunjian Wang > > The fd is possibly a negative value while it is passed as an > argument to function "close". Fix the check to the fd. > > Fixes: b9c94167904f ("bus/dpaa: decouple FQ portal alloc and init") > Cc: sta...@dpdk.org > > Signed-off-b