From patchwork Tue Mar 10 17:04:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 45604 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C1648214BF for ; Tue, 10 Mar 2015 17:05:10 +0000 (UTC) Received: by labgm9 with SMTP id gm9sf2550035lab.1 for ; Tue, 10 Mar 2015 10:05:09 -0700 (PDT) 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:in-reply-to :references: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=Uqottz4qIhzuU3ZYWbNkZm0xCnZHyb2PDWtEsWFNnZg=; b=ej4tXwupqTbZZrxaFB8890DPm4lyrUlGz7U1ex3F0RCVwkmjYWxcuH/yoZxR9a52dm uTnh9vW15ANWA4HOkLrvmNA0bjA0H1G8XtRqIhb1n0ijcxrZ0U2UOpe4ckovLCvUvxJ1 lFDMz2hjWAMH4+LrRuNCY8r2ov71CHhiJYtJ+LPbtQWbMQL5gR/dbFsJxmY7OmkXlzkJ T/HIwlEYaONiC18HjrhMMi8HAUcTFWfGWjzM4C2f0LoMA2nknsNMQCDcp7DXLjGnNf3j WTq0mC9WvBqRdbrujIwym7Pvh1+KPnVCv4otrt93JvqhSE2Md+7zlBTnk3pNc5TQoHv3 E+Wg== X-Gm-Message-State: ALoCoQmMNbmxRxeD/r+ceJO/k4Hk2o8miqXV4BtZYN65wLDAuymq7g+uxxGFRLkg+G92S02Q5h0n X-Received: by 10.112.125.67 with SMTP id mo3mr3212152lbb.6.1426007109659; Tue, 10 Mar 2015 10:05:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.166 with SMTP id t6ls52471lat.83.gmail; Tue, 10 Mar 2015 10:05:09 -0700 (PDT) X-Received: by 10.112.133.225 with SMTP id pf1mr31473770lbb.33.1426007109366; Tue, 10 Mar 2015 10:05:09 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id r6si724161laj.72.2015.03.10.10.05.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 10:05:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lams18 with SMTP id s18so3212387lam.2 for ; Tue, 10 Mar 2015 10:05:09 -0700 (PDT) X-Received: by 10.112.64.193 with SMTP id q1mr31360109lbs.88.1426007109284; Tue, 10 Mar 2015 10:05:09 -0700 (PDT) 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 h5csp2262133lbj; Tue, 10 Mar 2015 10:05:08 -0700 (PDT) X-Received: by 10.236.61.138 with SMTP id w10mr31887526yhc.31.1426007108033; Tue, 10 Mar 2015 10:05:08 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id c67si569447yha.10.2015.03.10.10.05.06 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Mar 2015 10:05:08 -0700 (PDT) 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 ) id 1YVNaa-000094-Uh; Tue, 10 Mar 2015 17:05:04 +0000 Received: from mail-ob0-f169.google.com ([209.85.214.169]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YVNaP-00007m-9k for lng-odp@lists.linaro.org; Tue, 10 Mar 2015 17:04:53 +0000 Received: by obcuz6 with SMTP id uz6so3117785obc.7 for ; Tue, 10 Mar 2015 10:04:48 -0700 (PDT) X-Received: by 10.60.96.167 with SMTP id dt7mr26602063oeb.54.1426007087617; Tue, 10 Mar 2015 10:04:47 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id iy5sm656744obb.19.2015.03.10.10.04.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Mar 2015 10:04:47 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 10 Mar 2015 12:04:38 -0500 Message-Id: <1426007078-28326-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1426007078-28326-1-git-send-email-bill.fischofer@linaro.org> References: <1426007078-28326-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 3/3] validation: packet: use true == \!0 per ODP API Guidelines X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@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.215.54 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 Signed-off-by: Bill Fischofer --- test/validation/odp_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/validation/odp_packet.c b/test/validation/odp_packet.c index 8f764bf..0c1d069 100644 --- a/test/validation/odp_packet.c +++ b/test/validation/odp_packet.c @@ -425,7 +425,7 @@ do { \ odp_packet_has_##flag##_set(packet, 0); \ CU_ASSERT(odp_packet_has_##flag(packet) == 0); \ odp_packet_has_##flag##_set(packet, 1); \ - CU_ASSERT(odp_packet_has_##flag(packet) == 1); \ + CU_ASSERT(odp_packet_has_##flag(packet) != 0); \ } while (0) static void packet_in_flags(void)