From patchwork Mon Nov 6 15:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 118062 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2860901qgn; Mon, 6 Nov 2017 07:02:04 -0800 (PST) X-Google-Smtp-Source: ABhQp+Su3Y06/Ulb7hG5xeBEFzcJtUxekmNkP9HL3yQ0xQBaqNG4mHAQoq7z0ioDm905ytxXQbU4 X-Received: by 10.36.17.193 with SMTP id 184mr9690873itf.68.1509980524725; Mon, 06 Nov 2017 07:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509980524; cv=none; d=google.com; s=arc-20160816; b=oCP9zFsm5dhKIegTl4NDjkQT8UXidJnKYmxQ7oK/K+5irKA9X1o8x+iBzKmc/KTh1D VSnFisiYiqJMMDjOlhJUuSzHaaMMNuJSiuS73DwZsv2kK2muNK/ReGFp6M1hwLknh+Fw tnv4+RbL2hGpUG7OQld9G5TlFF0lMB6Jms6Se8zN6RUYsLEahu8+FsSPsdcOpr88VEm4 ZvF2AZOLu1DtiCao27gk9WVb/ibgbMJ8HLYgOMLXxp4aWAvgEZyLxMHY8hODgA4Ic4MD PhuSGnVQnIfmQlUB6sGR382CVLZy/xgoD97xPNBEgrJt56DqQkG+qZp5SOn7jDi1r6WT uBhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=jwmLeB+QXEavB4wffvUy4LiEMbjwn/vlPrwJAuK/Z5s=; b=S75Lk/yQPINg4l1W8+lwsYfiyT3I8WbCCZXKC6zrXBdt6IXYfHSm6BkN/F2VniGLc6 3AYYnNqubF0Ps2KgRGhtgo3zw1smDyvb8smu1CIcp/YeDoGD4TMnPI2dlh5n6mBON+gD iTMeuTtQtT5xvTct8dDHnQsOlB0ZPX3VPdiezkHNOnF/QvigUgd/lz5JAwD+xMlHjxP9 HFxzyjDQCWcpVEsnuYjBOd/mLmhTVJbNPExHOxy/eRpxJSh4LLVVv8J/XRetjN2WGPGg HW/Fa4mIBHNEUxntpNoEBenyU6c0tMC44OLGhOdAd90kDGC0eC77vGJx/czPWB480LGd +AqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id r197si8059913ita.113.2017.11.06.07.02.00; Mon, 06 Nov 2017 07:02:04 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id A9C7360C35; Mon, 6 Nov 2017 15:02:00 +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,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 9DDFD60BFE; Mon, 6 Nov 2017 15:00:25 +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 D795560678; Mon, 6 Nov 2017 15:00:16 +0000 (UTC) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) by lists.linaro.org (Postfix) with ESMTPS id 9C68F60999 for ; Mon, 6 Nov 2017 15:00:12 +0000 (UTC) Received: from mxback1j.mail.yandex.net (mxback1j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10a]) by forward102j.mail.yandex.net (Yandex) with ESMTP id DDF875607678 for ; Mon, 6 Nov 2017 18:00:10 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback1j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id qn61fWZl26-0ACSaCOe; Mon, 06 Nov 2017 18:00:10 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id T0MgOkT6Js-0ArOpnFd; Mon, 06 Nov 2017 18:00:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 6 Nov 2017 18:00:06 +0300 Message-Id: <1509980407-6367-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509980407-6367-1-git-send-email-odpbot@yandex.ru> References: <1509980407-6367-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 278 Subject: [lng-odp] [PATCH v1 3/4] linux-generic: init: implement odp_init_param_init() 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Bill Fischofer Signed-off-by: Bill Fischofer Reviewed-by: Petri Savolainen Signed-off-by: Maxim Uvarov --- /** Email created from pull request 278 (muvarov:next2) ** https://github.com/Linaro/odp/pull/278 ** Patch: https://github.com/Linaro/odp/pull/278.patch ** Base sha: f318c88f26b15140dda243e6a1d27e3c8f9d275b ** Merge commit sha: c83975d85777ff167e18764bf9fd8f310a65e206 **/ platform/linux-generic/odp_init.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 92a583702..6a45f3986 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -25,6 +25,11 @@ struct odp_global_data_s odp_global_data; +void odp_init_param_init(odp_init_t *param) +{ + memset(param, 0, sizeof(odp_init_t)); +} + int odp_init_global(odp_instance_t *instance, const odp_init_t *params, const odp_platform_init_t *platform_params ODP_UNUSED)