From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 47343A0524; Thu, 30 Jan 2020 18:26:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D4191C02D; Thu, 30 Jan 2020 18:26:56 +0100 (CET) Received: from mail.ntop.org (mail-digitalocean.ntop.org [167.99.215.164]) by dpdk.org (Postfix) with ESMTP id D436B1C024 for ; Thu, 30 Jan 2020 18:26:54 +0100 (CET) Received: from devele.ntop.org (net-93-145-196-230.cust.vodafonedsl.it [93.145.196.230]) by mail.ntop.org (Postfix) with ESMTPSA id 484EC40734; Thu, 30 Jan 2020 18:26:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntop.org; s=mail; t=1580405214; bh=Ja6E0RC2p7Xlycn81AWxsrmZU8iYP3CeWFHs4uSnvms=; h=From:To:Cc:Subject:Date:From; b=JfmuYHrr7C5RHlZzO6qVt/wTctFqvYELBOa0O6VTgcsWEq7ToNHfmQlMbfgRLm2I4 HT0JgMqiVxlaxqKBtb+2DIpHqXfOTyUp4F8e1/9Ot5lVLh16AyU4GF3odolm73+87B 9sofmwM/a7vCcFdEqb0FYaJKtVPtLH2UQOAr6ZdQ= From: Alfredo Cardigliano To: Alfredo Cardigliano Cc: dev@dpdk.org Date: Thu, 30 Jan 2020 18:26:49 +0100 Message-Id: <20200130172649.16550-1-cardigliano@ntop.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] net/ionic: fix packet type mask 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" Fix the IONIC_RXQ_COMP_PKT_TYPE_MASK define. This fixes the coverity defect #353608 Signed-off-by: Alfredo Cardigliano --- drivers/net/ionic/ionic_if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ionic/ionic_if.h b/drivers/net/ionic/ionic_if.h index ab300be6e..f83c8711b 100644 --- a/drivers/net/ionic/ionic_if.h +++ b/drivers/net/ionic/ionic_if.h @@ -867,7 +867,7 @@ struct ionic_rxq_comp { #define IONIC_RXQ_COMP_CSUM_F_VLAN 0x40 #define IONIC_RXQ_COMP_CSUM_F_CALC 0x80 u8 pkt_type_color; -#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x0f +#define IONIC_RXQ_COMP_PKT_TYPE_MASK 0x7f }; enum ionic_pkt_type { -- 2.17.1