From patchwork Fri Mar 25 10:30:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balakrishna Garapati X-Patchwork-Id: 64461 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp99642lbc; Fri, 25 Mar 2016 03:32:01 -0700 (PDT) X-Received: by 10.140.99.72 with SMTP id p66mr16258380qge.16.1458901920953; Fri, 25 Mar 2016 03:32:00 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id g72si10201135qkh.55.2016.03.25.03.31.53; Fri, 25 Mar 2016 03:32:00 -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; 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 7A38661B65; Fri, 25 Mar 2016 10:31:53 +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 07212619A3; Fri, 25 Mar 2016 10:31:50 +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 5013561A0A; Fri, 25 Mar 2016 10:31:44 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by lists.linaro.org (Postfix) with ESMTPS id C1A0C61B74 for ; Fri, 25 Mar 2016 10:31:02 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id o73so52765356lfe.0 for ; Fri, 25 Mar 2016 03:31:02 -0700 (PDT) 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=3CctAA8nZKN85tnukdEzNQMQji+8Wch9Oe8AyZSeomg=; b=Rc9t8oGbbFjT8+Q1kK1WMreMu9kzsy9HHcnWqipbpeGHe0u95z3byixsCexGFhzqbc JwPoeL7Ker+cK34S+igw9S8pMr0qQXvwgS51NQUfdesQpmimwVNuufDhLq0togDbG1vO cfml6qQNQfU7FNoARLauWMZqCWnuUsqTpVtRo8dqp5XuxuVIt1f+5x/udbhN1Kx40F9w xIbjP2LLoNDp4ccF81857KEdrF7ITTA+g5HhVHbwBR1FGCEsWRPQR9Srd1Dbkoo4p4xv SdE7vNavNBepPW+tRjaTfbhs4BD73jGOpZSWV3UGzdwDj9CXajVM3Z0hYrZqFDoB6NZh o+OA== X-Gm-Message-State: AD7BkJJxvY86u/Kg1BcpmTuybuSaSt3TY0zJAuJQNXCtbHwTJVlJmc0+94edPxpt77KbvC2ZOwo= X-Received: by 10.25.150.138 with SMTP id y132mr5711092lfd.56.1458901861750; Fri, 25 Mar 2016 03:31:01 -0700 (PDT) Received: from elxahtkds32.100mbit.bredband2.se (c-83-233-168-99.cust.bredband2.com. [83.233.168.99]) by smtp.gmail.com with ESMTPSA id i2sm1813623lfd.43.2016.03.25.03.31.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Mar 2016 03:31:01 -0700 (PDT) From: Balakrishna Garapati To: bala.manoharan@linaro.org, maxim.uvarov@linaro.org Date: Fri, 25 Mar 2016 11:30:58 +0100 Message-Id: <1458901858-25237-1-git-send-email-balakrishna.garapati@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH] test:performance:initialize undefined values 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" Signed-off-by: Balakrishna Garapati Reviewed-by: Bill Fischofer --- v1:fix for valgrind erros from crypto test https://bugs.linaro.org/show_bug.cgi?id=2141 test/performance/odp_crypto.c | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1 diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c index 5fd339d..6bd5cf5 100644 --- a/test/performance/odp_crypto.c +++ b/test/performance/odp_crypto.c @@ -726,6 +726,8 @@ int main(int argc, char *argv[]) odp_cpumask_t cpumask; char cpumaskstr[ODP_CPUMASK_STR_SIZE]; + memset(&cargs, 0, sizeof(cargs)); + /* Parse and store the application arguments */ parse_args(argc, argv, &cargs);