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 26D19A09E7; Tue, 8 Dec 2020 09:10:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6C4C872D9; Tue, 8 Dec 2020 09:10:22 +0100 (CET) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 76877A3 for ; Tue, 8 Dec 2020 09:10:21 +0100 (CET) Received: by mail-pg1-f196.google.com with SMTP id f17so11495630pge.6 for ; Tue, 08 Dec 2020 00:10:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=26Ih4TsoPupvSTzvqZGDFEEBgdI0aGiqB53cSpEKqJk=; b=NHep4b6GJP1lbokAzhEwkMh1AvfGY2fnAvulLEZe9NWotTHqYHtX5CApzgLA9WAIrV m7aCygPkbCh28DyEvAMVj9b8Rfgk0h6OELwPXM/Lwnquv98UDmEMfXHJ7oY55iacXQq0 OsFpfjx5vCqMek8f0hj+Rltq4n2SyBOS23j1I/N6zUWPFbUAXjj7gRn+wYLMYw0ARkzH a+mg8lencWgLOu1aiUpQ0vB/BHxgclWI/SgCmEYkkXGnqK+961MbJoqUung+P+CjT3gb koFMP/DO7HXkFv+zaJjZDnIL/SlN0iu8M8y+NzMqVY1uGdufecIs/sM5Tz5dn7J8aljY 2a9w== X-Gm-Message-State: AOAM530CZLMlkMhhApKL+eC9XaX9PQ99aVz/W4xlGCEFXe0JnI4WQ369 db6h9GkYdO34BzH9dhRr2ak= X-Google-Smtp-Source: ABdhPJxYYYSkYU3ix0bMJP/yUfrSasiWN8X86B8i2N5cEpa1VOFbm4DT9rwVsM/rNecidrtaiyDyqA== X-Received: by 2002:a17:90a:fc83:: with SMTP id ci3mr3174575pjb.145.1607415019580; Tue, 08 Dec 2020 00:10:19 -0800 (PST) Received: from localhost.localdomain ([104.192.108.9]) by smtp.gmail.com with ESMTPSA id gw7sm1989725pjb.36.2020.12.08.00.10.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Dec 2020 00:10:19 -0800 (PST) From: banxiaozhen@dpdk.org, benhaz1024@gmail.com To: jia.guo@intel.com, haiyue.wang@intel.com Cc: dev@dpdk.org, banxiaozhen Date: Tue, 8 Dec 2020 16:10:06 +0800 Message-Id: <20201208081006.35125-1-benhaz1024@gmail.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] net/e1000: fix incorrect return value if filter type not supported. 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" From: banxiaozhen Signed-off-by: banxiaozhen --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index 647aa8d99..8695426c2 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e1000/igb_ethdev.c @@ -4561,6 +4561,7 @@ eth_igb_filter_ctrl(struct rte_eth_dev *dev __rte_unused, default: PMD_DRV_LOG(WARNING, "Filter type (%d) not supported", filter_type); + ret = -EINVAL; break; } -- 2.24.3 (Apple Git-128)