RE: [PATCH] vhost: compilation fix for GCC-12

2022-09-02 Thread Amit Prakash Shukla
lanukkaran ; > sta...@dpdk.org; nd > Subject: [EXT] RE: [PATCH] vhost: compilation fix for GCC-12 > > External Email > > -- > > -Original Message- > > From: Amit Prakash Shukla > > Sent: Thurs

RE: [PATCH] vhost: compilation fix for GCC-12

2022-09-02 Thread Ruifeng Wang
> -Original Message- > From: Amit Prakash Shukla > Sent: Thursday, September 1, 2022 4:50 PM > To: Maxime Coquelin ; Chenbo Xia > > Cc: dev@dpdk.org; jer...@marvell.com; sta...@dpdk.org; Amit Prakash Shukla > > Subject: [PATCH] vhost: compilation fix for

[PATCH] vhost: compilation fix for GCC-12

2022-09-01 Thread Amit Prakash Shukla
../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