[dpdk-dev] [PATCH] vhost/crypto: fix inferred misuse of enum

Kovacevic, Marko marko.kovacevic at intel.com
Mon Jun 17 18:57:51 CEST 2019


> Subject: [dpdk-dev] [PATCH] vhost/crypto: fix inferred misuse of enum
> 
> This patch fixes the inferred misuse of enum of crypto algorithms.
> 
> Coverity issue: 325879
> Fixes: e80a98708166 ("vhost/crypto: add session message handler")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> ---
>  lib/librte_vhost/vhost_crypto.c | 93 ++++++++++++++++++--------------------
> ---
>  1 file changed, 41 insertions(+), 52 deletions(-)
> 
> diff --git a/lib/librte_vhost/vhost_crypto.c b/lib/librte_vhost/vhost_crypto.c
> index 0edf12d52..b812661ef 100644
> --- a/lib/librte_vhost/vhost_crypto.c
> +++ b/lib/librte_vhost/vhost_crypto.c
> @@ -46,116 +46,107 @@
>  	((t)(uintptr_t)vhost_iova_to_vva(r->dev, r->vq, a, l, p))
<...>

Acked-by: Marko Kovacevic <marko.kovacevic at intel.com>



More information about the dev mailing list