Re: [dpdk-dev] [PATCH] vhost: fix build issue caused by unchecked returned values

2018-03-30 Thread Ferruh Yigit
On 3/30/2018 4:16 PM, Maxime Coquelin wrote: > This patch fixes below build issue seen with some compilers > or build options: > > lib/librte_vhost/fd_man.c: In function ‘fdset_pipe_read_cb’: > lib/librte_vhost/fd_man.c:284:2: error: ignoring return value of ‘read’, > declared with attribute warn

Re: [dpdk-dev] [PATCH] vhost: fix build issue caused by unchecked returned values

2018-03-30 Thread Maxime Coquelin
On 03/30/2018 05:21 PM, Ferruh Yigit wrote: On 3/30/2018 4:18 PM, Andrew Rybchenko wrote: On 03/30/2018 06:16 PM, Maxime Coquelin wrote: This patch fixes below build issue seen with some compilers or build options: lib/librte_vhost/fd_man.c: In function ‘fdset_pipe_read_cb’: lib/librte_vhost

Re: [dpdk-dev] [PATCH] vhost: fix build issue caused by unchecked returned values

2018-03-30 Thread Ferruh Yigit
On 3/30/2018 4:18 PM, Andrew Rybchenko wrote: > On 03/30/2018 06:16 PM, Maxime Coquelin wrote: >> This patch fixes below build issue seen with some compilers >> or build options: >> >> lib/librte_vhost/fd_man.c: In function ‘fdset_pipe_read_cb’: >> lib/librte_vhost/fd_man.c:284:2: error: ignoring r

Re: [dpdk-dev] [PATCH] vhost: fix build issue caused by unchecked returned values

2018-03-30 Thread Andrew Rybchenko
On 03/30/2018 06:16 PM, Maxime Coquelin wrote: This patch fixes below build issue seen with some compilers or build options: lib/librte_vhost/fd_man.c: In function ‘fdset_pipe_read_cb’: lib/librte_vhost/fd_man.c:284:2: error: ignoring return value of ‘read’, declared with attribute warn_unused_