From patchwork Mon Feb 29 07:13:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 63176 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1080674lbc; Sun, 28 Feb 2016 23:13:39 -0800 (PST) X-Received: by 10.51.17.34 with SMTP id gb2mr8221714igd.13.1456730019388; Sun, 28 Feb 2016 23:13:39 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id cr6si4912788igb.73.2016.02.28.23.13.38; Sun, 28 Feb 2016 23:13:39 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 7CFAD617AD; Mon, 29 Feb 2016 07:13:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 4AEDD616D7; Mon, 29 Feb 2016 07:13:34 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8DBFE61705; Mon, 29 Feb 2016 07:13:32 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by lists.linaro.org (Postfix) with ESMTPS id 9D8B9616BE for ; Mon, 29 Feb 2016 07:13:31 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id j186so10963549lfg.2 for ; Sun, 28 Feb 2016 23:13:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eu5WBCJ97Yqm2gJXX5cW+T3eaHVZMPSOSAYxgx8EIOQ=; b=fGPSlIkMHlqiilx6zBztepEKFrKkocrdlG73t547OsMoQJMapAGyuzm7FBxSAH+SVa 2eRG76d+lYFiuMamz6u06Ew8Fzai6iA0nVyTAzXEgw+I8nRYLxUeYisRHgH8EcX10V2G teyn2RVl5TRkBuCrO/96WqETQer7qnMXSlQd4gA6XATTb49klP/EdPpHPP7Oj1MJkz+H DVeUwbkP6MnWav4btwx1FLI2/UwKJQ8aXhlTRyqbc4vXVEZLET7Y9JmLGNJqJMQHg8XB d3Z+k7vjn3tuMOT+dNJbwI/tg+xx+Y/PyERJY8l9LUIJor+iBFgCMlBfaQ4HVJ8Zd/Ar 0UZg== X-Gm-Message-State: AD7BkJKDlsSu5BHq9tRWR/PAEroPjzwbA2toFtrwL89TfYXB8b3hew2Yvc+ILXRh5hbe0B3wLYY= X-Received: by 10.25.165.133 with SMTP id o127mr4876738lfe.105.1456730010535; Sun, 28 Feb 2016 23:13:30 -0800 (PST) Received: from localhost.localdomain (ppp91-76-173-134.pppoe.mtu-net.ru. [91.76.173.134]) by smtp.gmail.com with ESMTPSA id dt9sm3744181lbc.47.2016.02.28.23.13.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Feb 2016 23:13:29 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Mon, 29 Feb 2016 10:13:24 +0300 Message-Id: <1456730004-25799-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH] validation: pktio: fix type on defining pktiout mode X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" pktio.c:562:31: error: implicit conversion from enumeration type 'enum odp_pktout_mode_t' to different enumeration type 'odp_pktin_mode_t' (aka 'enum odp_pktin_mode_t') [-Werror,-Wenum-conversion] odp_pktin_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; Signed-off-by: Maxim Uvarov Reviewed-by: Bill Fischofer --- test/validation/pktio/pktio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index fa0e17b..9443cd2 100644 --- a/test/validation/pktio/pktio.c +++ b/test/validation/pktio/pktio.c @@ -559,7 +559,7 @@ static void test_txrx(odp_pktin_mode_t in_mode, int num_pkts, for (i = 0; i < num_ifaces; ++i) { odp_pktout_queue_t pktout; odp_queue_t queue; - odp_pktin_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; + odp_pktout_mode_t out_mode = ODP_PKTOUT_MODE_DIRECT; if (mode == TXRX_MODE_MULTI_EVENT) out_mode = ODP_PKTOUT_MODE_QUEUE;