Re: [dpdk-dev] [PATCH v1] net/virtio-user: fix return value check

2020-07-29 Thread Maxime Coquelin
On 7/29/20 3:12 PM, Chenbo Xia wrote: > Setting the flags of tapfd may fail and the return value > should be checked. > > Coverity issue: 140739 > Fixes: e3b434818bbb ("net/virtio-user: support kernel vhost") > Cc: sta...@dpdk.org > > Signed-off-by: Chenbo Xia > --- > drivers/net/virtio/virt

Re: [dpdk-dev] [PATCH v1] net/virtio-user: fix return value check

2020-07-29 Thread Maxime Coquelin
On 7/29/20 3:12 PM, Chenbo Xia wrote: > Setting the flags of tapfd may fail and the return value > should be checked. > > Coverity issue: 140739 > Fixes: e3b434818bbb ("net/virtio-user: support kernel vhost") > Cc: sta...@dpdk.org > > Signed-off-by: Chenbo Xia > --- > drivers/net/virtio/virt

[dpdk-dev] [PATCH v1] net/virtio-user: fix return value check

2020-07-28 Thread Chenbo Xia
Setting the flags of tapfd may fail and the return value should be checked. Coverity issue: 140739 Fixes: e3b434818bbb ("net/virtio-user: support kernel vhost") Cc: sta...@dpdk.org Signed-off-by: Chenbo Xia --- drivers/net/virtio/virtio_user/vhost_kernel_tap.c | 5 - 1 file changed, 4 inser

Re: [dpdk-dev] [PATCH v1] net/virtio-user: fix return value check

2019-04-17 Thread Maxime Coquelin
On 4/10/19 4:44 AM, Chenbo Xia wrote: Fix unchecked return value for fcntl. Coverity issue: 277210 Fixes: bd8f50a45d0f ("net/virtio-user: support server mode") Cc:sta...@dpdk.org Signed-off-by: Chenbo Xia --- drivers/net/virtio/virtio_user/vhost_user.c | 5 - 1 file changed, 4 inserti

Re: [dpdk-dev] [PATCH v1] net/virtio-user: fix return value check

2019-04-11 Thread Tiwei Bie
On Wed, Apr 10, 2019 at 02:44:05AM +, Chenbo Xia wrote: > Fix unchecked return value for fcntl. > > Coverity issue: 277210 > Fixes: bd8f50a45d0f ("net/virtio-user: support server mode") > Cc: sta...@dpdk.org > > Signed-off-by: Chenbo Xia > --- > drivers/net/virtio/virtio_user/vhost_user.c |

Re: [dpdk-dev] [PATCH v1] net/virtio-user: fix return value check

2019-04-10 Thread Jens Freimann
On Wed, Apr 10, 2019 at 02:44:05AM +, Chenbo Xia wrote: Fix unchecked return value for fcntl. Coverity issue: 277210 Fixes: bd8f50a45d0f ("net/virtio-user: support server mode") Cc: sta...@dpdk.org Signed-off-by: Chenbo Xia --- drivers/net/virtio/virtio_user/vhost_user.c | 5 - 1 file c

Re: [dpdk-dev] [PATCH v1] net/virtio-user: fix return value check

2019-04-09 Thread Rami Rosen
Fix unchecked return value for fcntl. Coverity issue: 277210 Fixes: bd8f50a45d0f ("net/virtio-user: support server mode") Cc: sta...@dpdk.org Signed-off-by: Chenbo Xia --- Acked-by: Rami Rosen

[dpdk-dev] [PATCH v1] net/virtio-user: fix return value check

2019-04-09 Thread Chenbo Xia
Fix unchecked return value for fcntl. Coverity issue: 277210 Fixes: bd8f50a45d0f ("net/virtio-user: support server mode") Cc: sta...@dpdk.org Signed-off-by: Chenbo Xia --- drivers/net/virtio/virtio_user/vhost_user.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers