On Fri, Sep 02, 2022 at 06:11:52PM +0530, Amit Prakash Shukla wrote:
> ../lib/vhost/virtio_net.c:941:35: error:
> 'buf_vec[0].buf_len' may be used uninitialized
> [-Werror=maybe-uninitialized]
> 941 | buf_len = buf_vec[vec_idx].buf_len;
> |
ect: [EXT] Re: [PATCH v2] vhost: compilation fix for GCC-12
>
> External Email
>
> --
> On Fri, Sep 02, 2022 at 06:11:52PM +0530, Amit Prakash Shukla wrote:
> > ../lib/vhost/virtio_net.c:941:35: error:
>
../lib/vhost/virtio_net.c:941:35: error:
'buf_vec[0].buf_len' may be used uninitialized
[-Werror=maybe-uninitialized]
941 | buf_len = buf_vec[vec_idx].buf_len;
| ^~~~
../lib/vhost/virtio_net.c: In function 'virtio
3 matches
Mail list logo