From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99291C43613 for ; Thu, 20 Jun 2019 10:00:03 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 5BF612147A for ; Thu, 20 Jun 2019 10:00:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BF612147A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 81C501D167; Thu, 20 Jun 2019 11:59:56 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 295A31D11E; Thu, 20 Jun 2019 11:59:55 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 967763162905; Thu, 20 Jun 2019 09:59:54 +0000 (UTC) Received: from [10.36.112.46] (ovpn-112-46.ams2.redhat.com [10.36.112.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id ADAA319C5B; Thu, 20 Jun 2019 09:59:53 +0000 (UTC) To: Fan Zhang , dev@dpdk.org Cc: stable@dpdk.org References: <20190515160911.79543-1-roy.fan.zhang@intel.com> From: Maxime Coquelin Message-ID: <14602b70-599c-0a1e-a3d3-bc0ebd22da72@redhat.com> Date: Thu, 20 Jun 2019 11:59:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190515160911.79543-1-roy.fan.zhang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Thu, 20 Jun 2019 09:59:54 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH] vhost/crypto: fix inferred misuse of enum X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/15/19 6:09 PM, Fan Zhang wrote: > This patch fixes the inferred misuse of enum of crypto > algorithms. > > Coverity issue: 325879 > Fixes: e80a98708166 ("vhost/crypto: add session message handler") > Cc: stable@dpdk.org > > Signed-off-by: Fan Zhang > --- > lib/librte_vhost/vhost_crypto.c | 93 ++++++++++++++++++----------------------- > 1 file changed, 41 insertions(+), 52 deletions(-) > Applied to dpdk-next-virtio/master. Thanks, Maxime