Hi Jiayu,
> -Original Message-
> From: Hu, Jiayu
> Sent: Thursday, June 23, 2022 9:09 AM
> To: dev@dpdk.org
> Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu,
> Jiayu
> Subject: [PATCH] vhost: fix unchecked return value
>
> This patch checks the retur
This patch checks the return value of rte_dma_info_get()
called in rte_vhost_async_dma_configure().
Coverity issue: 379066
Fixes: 53d3f4778c1d ("vhost: integrate dmadev in asynchronous data-path")
Signed-off-by: Jiayu Hu
---
lib/vhost/vhost.c | 6 +-
1 file changed, 5 insertions(+), 1 delet
On Fri, Sep 22, 2017 at 02:17:40PM +0200, Kuba Kozak wrote:
> Add return value check for poll() call.
>
> Coverity issue: 140740
> Fixes: 59317cef249c ("vhost: allow many vhost-user ports")
> Cc: jan.wick...@ericsson.com
> Cc: sta...@dpdk.org
>
> Signed-off-by: Kuba Kozak
Applied to dpdk-next-v
t; Subject: [dpdk-dev] [PATCH] vhost: fix unchecked return value
>
> Add return value check for poll() call.
>
> Coverity issue: 140740
> Fixes: 59317cef249c ("vhost: allow many vhost-user ports")
> Cc: jan.wick...@ericsson.com
> Cc: sta...@dpdk.org
>
> Signed-
Add return value check for poll() call.
Coverity issue: 140740
Fixes: 59317cef249c ("vhost: allow many vhost-user ports")
Cc: jan.wick...@ericsson.com
Cc: sta...@dpdk.org
Signed-off-by: Kuba Kozak
---
lib/librte_vhost/fd_man.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --gi
On Wed, Jun 15, 2016 at 01:45:23AM +0800, Huawei Xie wrote:
> Value returned from fstat is not checked for errors before being used.
> Fixes the coverity issue:
>
> static uint64_t
> get_blk_size(int fd)
> {
> struct stat stat;
>
> fstat(fd, &stat);
> return (uint64_t)stat.st_bl
Value returned from fstat is not checked for errors before being used.
Fixes the coverity issue:
static uint64_t
get_blk_size(int fd)
{
struct stat stat;
fstat(fd, &stat);
return (uint64_t)stat.st_blksize;
>>> CID 107103 (#1 of 1): Unchecked return value from library (CHE
7 matches
Mail list logo