Hi Thomas,

> -----Original Message-----
> From: Thomas Monjalon [mailto:[email protected]]
> Sent: Monday, May 21, 2018 22:23
> To: Xu, Rosen <[email protected]>
> Cc: [email protected]; Zhang, Roy Fan <[email protected]>; Doherty,
> Declan <[email protected]>; Richardson, Bruce
> <[email protected]>; [email protected]; Yigit, Ferruh
> <[email protected]>; Ananyev, Konstantin
> <[email protected]>; Zhang, Tianfei <[email protected]>;
> Liu, Song <[email protected]>; Wu, Hao <[email protected]>;
> [email protected]
> Subject: Re: [dpdk-stable] [PATCH] drivers/raw/ifpga_rawdev: fix coverity
> issue
> 
> 16/05/2018 15:53, Rosen Xu:
> > Fix coverity issue: 279449
> >
> > Signed-off-by: Rosen Xu <[email protected]>
> >
> > Fixes: ef1e8ede3da5 ("raw/ifpga: add Intel FPGA bus rawdev driver")
> > Coverity issue: 279449
> > Cc: [email protected]
> 
> Not for stable
> 
> > --- a/drivers/raw/ifpga_rawdev/ifpga_rawdev.c
> > +++ b/drivers/raw/ifpga_rawdev/ifpga_rawdev.c
> > @@ -227,7 +227,7 @@
> >     int file_fd;
> >     int ret = 0;
> >     ssize_t buffer_size;
> > -   void *buffer;
> > +   void *buffer = NULL;
> 
> It is not fixing anything.
> This variable cannot be read before being written.

Yes, it's a scripts error.
This patch can be cancelled.
 

Reply via email to