Message ID | 1424859793-17432-1-git-send-email-taras.kondratiuk@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDVZ52OWS4KRBJWFW2TQKGQE52DQDCY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD5BE2142A for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 10:23:35 +0000 (UTC) Received: by lbiw7 with SMTP id w7sf2143338lbi.0 for <linaro@patches.linaro.org>; Wed, 25 Feb 2015 02:23:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=fLCXtZ/yJwL/QT+08MQ5+HzbvkXyJ58cbDiM1AqvtOc=; b=mlGgQZLFiBwbv5W4813et+oSMq7/LPA8H6qmEhnUxYs4xyytjy48MECblxW7xCwhvl 7SmVRSlxpg1O7n3U3xhfKiKGZ4F4npil4pzPqGvnRkcdWW1oNcyCD0/tvqwdOJ9Cp7ox Bee1uFQBq3xhx5zHF+UFQJn3Is78eCednqz124z+wyx4Mu0wvrFG+y89Lc3xDg8y+PXb ZdOZUhgxOTbAVfUbFLSGKoxa5pVWvxiXfFxoOi/EfKnF1/bxApFZwhbLznSFZsY1ruxt 7ZDdKhBc/ZU9geuiikZLqRKDOsoBBSkgw32R7rcdKIHnz1O/5eb4Df3VALGx/v1G2hzA HS8Q== X-Gm-Message-State: ALoCoQkHZf7K1s7XU9uNFrSQXJkL43mdMLIwcGTW6IhtI0VmwNQ7bMjHf97UX0KB/5KlDZEl/Ccl X-Received: by 10.152.6.41 with SMTP id x9mr355838lax.10.1424859814909; Wed, 25 Feb 2015 02:23:34 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.242.132 with SMTP id wq4ls129996lac.30.gmail; Wed, 25 Feb 2015 02:23:34 -0800 (PST) X-Received: by 10.152.5.6 with SMTP id o6mr2106633lao.59.1424859814766; Wed, 25 Feb 2015 02:23:34 -0800 (PST) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id yh1si28211223lab.112.2015.02.25.02.23.34 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 02:23:34 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbjf15 with SMTP id f15so2754356lbj.13 for <patchwork-forward@linaro.org>; Wed, 25 Feb 2015 02:23:34 -0800 (PST) X-Received: by 10.152.203.194 with SMTP id ks2mr2155561lac.88.1424859814687; Wed, 25 Feb 2015 02:23:34 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2521844lbj; Wed, 25 Feb 2015 02:23:34 -0800 (PST) X-Received: by 10.140.96.55 with SMTP id j52mr5171764qge.92.1424859813521; Wed, 25 Feb 2015 02:23:33 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id b69si19980365qhc.13.2015.02.25.02.23.32 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Feb 2015 02:23:33 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <lng-odp-bounces@lists.linaro.org>) id 1YQZ7p-0000PZ-Rp; Wed, 25 Feb 2015 10:23:29 +0000 Received: from mail-la0-f42.google.com ([209.85.215.42]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <taras.kondratiuk@linaro.org>) id 1YQZ7k-0000PU-0Y for lng-odp@lists.linaro.org; Wed, 25 Feb 2015 10:23:24 +0000 Received: by labgf13 with SMTP id gf13so2810416lab.9 for <lng-odp@lists.linaro.org>; Wed, 25 Feb 2015 02:23:18 -0800 (PST) X-Received: by 10.152.87.3 with SMTP id t3mr2120524laz.19.1424859797824; Wed, 25 Feb 2015 02:23:17 -0800 (PST) Received: from localhost.localdomain ([80.77.38.170]) by mx.google.com with ESMTPSA id i13sm7680668lab.38.2015.02.25.02.23.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 02:23:17 -0800 (PST) From: Taras Kondratiuk <taras.kondratiuk@linaro.org> To: lng-odp@lists.linaro.org Date: Wed, 25 Feb 2015 12:23:13 +0200 Message-Id: <1424859793-17432-1-git-send-email-taras.kondratiuk@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] validation: pktio: don't use __odp_errno directly X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: taras.kondratiuk@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/test/validation/odp_pktio.c b/test/validation/odp_pktio.c index 3f9de3c..96a143d 100644 --- a/test/validation/odp_pktio.c +++ b/test/validation/odp_pktio.c @@ -522,7 +522,7 @@ static void test_odp_pktio_lookup(void) CU_ASSERT(odp_pktio_lookup(iface_name[0]) == pktio); pktio_inval = odp_pktio_open(iface_name[0], default_pkt_pool); - CU_ASSERT(__odp_errno == EEXIST); + CU_ASSERT(odp_errno() == EEXIST); CU_ASSERT(pktio_inval == ODP_PKTIO_INVALID); CU_ASSERT(odp_pktio_close(pktio) == 0);
__odp_errno is a private variable. odp_errno() function should be used instead. Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> --- test/validation/odp_pktio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)