16/05/2018 15:53, Rosen Xu:
> Fix coverity issue: 279449
> 
> Signed-off-by: Rosen Xu <rosen...@intel.com>
> 
> Fixes: ef1e8ede3da5 ("raw/ifpga: add Intel FPGA bus rawdev driver")
> Coverity issue: 279449
> Cc: sta...@dpdk.org

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.


Reply via email to