> -Original Message-
> From: Jiang, Cheng1
> Sent: Wednesday, May 12, 2021 10:31 AM
> To: maxime.coque...@redhat.com; Xia, Chenbo
> Cc: dev@dpdk.org; Jiang, Cheng1
> Subject: [PATCH] vhost: fix unintended sign extension in async packed ring
>
> Change the variable type in store_dma_desc
> -Original Message-
> From: Jiang, Cheng1
> Sent: Wednesday, May 12, 2021 10:31 AM
> To: maxime.coque...@redhat.com; Xia, Chenbo
> Cc: dev@dpdk.org; Jiang, Cheng1
> Subject: [PATCH] vhost: fix unintended sign extension in async packed ring
>
> Change the variable type in store_dma_desc
Change the variable type in store_dma_desc_info_packed() to fix
suspicious implicit sign extension.
Coverity issue: 370608, 370610, 370612
Fixes: 873e8dad6f49 (vhost: support packed ring in async datapath)
Signed-off-by: Cheng Jiang
---
lib/vhost/virtio_net.c | 2 +-
1 file changed, 1 insertion
3 matches
Mail list logo