From patchwork Wed Sep 30 07:24:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balasubramanian Manoharan X-Patchwork-Id: 54289 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id D135223002 for ; Wed, 30 Sep 2015 07:25:19 +0000 (UTC) Received: by wicuu12 with SMTP id uu12sf17577354wic.2 for ; Wed, 30 Sep 2015 00:25:19 -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: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=kDxYTqo070a6BDjMGHJSSFQAStWlz7N1BplRG6zdEys=; b=Ugs1FGAFzkArbtLKYf2Hzg1eTA+g5fgaPrC6FrQ8Aj7D1uppE95TOwrjf9JX4Z1tW4 JLm1yp9GVQTYwwuz2VC05ICp5hSXnMo3cQOD302kCkPrc8VhWnciZTv5lMGCDcUvbf8p raIMARS+Nh839ptX9ojG0S+eMX2tyQ55WP69FlNF85WJz8Iy0MzgwdDxDmIQZJDWWPnn /8iwxCLuLDwpSMpwatnxlYHE/oDSOusghZd24v2laHIJvd0JARXSpI5FfimTtVHNKrqp VnZM2Ya0wQYMOt+YjMkdyHbSZk5gj545CPGrpACVpNrzmFJumo48DULKoMu3Q+wkTHjb AiOQ== X-Gm-Message-State: ALoCoQnEohCMSKgsEqKym0ZJlkbcmZpeE/6V1vB9VAMOqB+ifcYYRHfVTAHn8rgJdKSNP+poMEUG X-Received: by 10.180.105.98 with SMTP id gl2mr4517627wib.0.1443597919155; Wed, 30 Sep 2015 00:25:19 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.200 with SMTP id h8ls21217lae.48.gmail; Wed, 30 Sep 2015 00:25:19 -0700 (PDT) X-Received: by 10.112.64.72 with SMTP id m8mr608541lbs.41.1443597918999; Wed, 30 Sep 2015 00:25:18 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id uc9si12782832lbb.103.2015.09.30.00.25.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2015 00:25:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by labzv5 with SMTP id zv5so35510673lab.1 for ; Wed, 30 Sep 2015 00:25:18 -0700 (PDT) X-Received: by 10.152.170.225 with SMTP id ap1mr613018lac.72.1443597918868; Wed, 30 Sep 2015 00:25:18 -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.59.35 with SMTP id w3csp2569056lbq; Wed, 30 Sep 2015 00:25:18 -0700 (PDT) X-Received: by 10.107.47.30 with SMTP id j30mr2711105ioo.168.1443597917964; Wed, 30 Sep 2015 00:25:17 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w4si147886igl.62.2015.09.30.00.25.17; Wed, 30 Sep 2015 00:25:17 -0700 (PDT) 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; Received: by lists.linaro.org (Postfix, from userid 109) id 1F9E062016; Wed, 30 Sep 2015 07:25:17 +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_H2, TVD_SPACE_RATIO, 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 42EB2619CA; Wed, 30 Sep 2015 07:25:13 +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 4E43261FC8; Wed, 30 Sep 2015 07:25:11 +0000 (UTC) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by lists.linaro.org (Postfix) with ESMTPS id 4B4DB61935 for ; Wed, 30 Sep 2015 07:25:10 +0000 (UTC) Received: by pacfv12 with SMTP id fv12so32724331pac.2 for ; Wed, 30 Sep 2015 00:25:09 -0700 (PDT) X-Received: by 10.66.121.110 with SMTP id lj14mr3060923pab.61.1443597909481; Wed, 30 Sep 2015 00:25:09 -0700 (PDT) Received: from bala-Vostro-2520.caveonetworks.com ([111.93.218.67]) by smtp.gmail.com with ESMTPSA id xg2sm3447089pbb.2.2015.09.30.00.25.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Sep 2015 00:25:08 -0700 (PDT) From: Balasubramanian Manoharan To: lng-odp@lists.linaro.org Date: Wed, 30 Sep 2015 12:54:59 +0530 Message-Id: <1443597899-4354-1-git-send-email-bala.manoharan@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: Classification patch Subject: [lng-odp] [API-NEXT/PATCH] validation: classification: Queue parameter init calls X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bala.manoharan@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.43 as permitted sender) smtp.mailfrom=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 Add missing odp_queue_param_init() Fixes: https://bugs.linaro.org/show_bug.cgi?id=1823 Signed-off-by: Balasubramanian Manoharan Reviewed-by: Bill Fischofer --- test/validation/classification/odp_classification_basic.c | 1 + test/validation/classification/odp_classification_tests.c | 1 + 2 files changed, 2 insertions(+) diff --git a/test/validation/classification/odp_classification_basic.c b/test/validation/classification/odp_classification_basic.c index d60eafd..c063b88 100644 --- a/test/validation/classification/odp_classification_basic.c +++ b/test/validation/classification/odp_classification_basic.c @@ -76,6 +76,7 @@ void classification_test_cos_set_queue(void) cos_queue = odp_cos_create(cosname); CU_ASSERT_FATAL(cos_queue != ODP_COS_INVALID); + odp_queue_param_init(&qparam); qparam.sched.prio = ODP_SCHED_PRIO_HIGHEST; qparam.sched.sync = ODP_SCHED_SYNC_NONE; qparam.sched.group = ODP_SCHED_GROUP_ALL; diff --git a/test/validation/classification/odp_classification_tests.c b/test/validation/classification/odp_classification_tests.c index 69a71b1..0fb624d 100644 --- a/test/validation/classification/odp_classification_tests.c +++ b/test/validation/classification/odp_classification_tests.c @@ -408,6 +408,7 @@ void configure_cls_pmr_chain(void) cos_list[CLS_PMR_CHAIN_DST] = odp_cos_create(cosname); CU_ASSERT_FATAL(cos_list[CLS_PMR_CHAIN_DST] != ODP_COS_INVALID); + odp_queue_param_init(&qparam); qparam.sched.prio = ODP_SCHED_PRIO_NORMAL; qparam.sched.sync = ODP_SCHED_SYNC_NONE; qparam.sched.group = ODP_SCHED_GROUP_ALL;