From patchwork Tue May 5 18:43:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 48046 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 3B7362121F for ; Tue, 5 May 2015 18:44:00 +0000 (UTC) Received: by layy10 with SMTP id y10sf59173550lay.0 for ; Tue, 05 May 2015 11:43:59 -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=ZAA1yMwmJLPTn4IyzGe0/oeuBobFQ6BnXLHB9BxRUg8=; b=T4BRQOknAeIX+38RiyBJREv6gM7BwTccvLZydP2801l0pc80RGDAdc5NwYqJFRoXeV uHkUHr4lhf30APLsz40VXpFntFYv+BkouBdxkIcJNlPfqAeSM4NbV+4PjuT2JCaeWeUe 0adDnMqHrKEmoInB5lFYgbrpbF0jMnaiDfbmrGTLt9oWkO6mrNiB9deR/She4XQg68tq nn+Vwzsh+dRXvXXDIq5pPMWhTG/IWmbdfL6xAQbhDoGdL4t0kRxYtxArgIgQUq65H4mB it/RVLRJbm2VY/Cq8o/W/DgyyvpfCuD0DTES5OaWEscqwQCZbbZgs7A+W+7N0xeekUde FVeg== X-Gm-Message-State: ALoCoQnxuWKN8hKTyTo9dGCPaAT86s50+8DoQtARFLLIiRbIkJdCK5q6PqK/B5vpbsafP8TdfRxm X-Received: by 10.180.98.130 with SMTP id ei2mr2971824wib.0.1430851439074; Tue, 05 May 2015 11:43:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.167 with SMTP id dd7ls798215lad.28.gmail; Tue, 05 May 2015 11:43:58 -0700 (PDT) X-Received: by 10.112.134.167 with SMTP id pl7mr25158150lbb.50.1430851438917; Tue, 05 May 2015 11:43:58 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id bd7si13104045lab.77.2015.05.05.11.43.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2015 11:43:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by labbd9 with SMTP id bd9so134921886lab.2 for ; Tue, 05 May 2015 11:43:58 -0700 (PDT) X-Received: by 10.112.125.138 with SMTP id mq10mr4257349lbb.35.1430851438831; Tue, 05 May 2015 11:43:58 -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.67.65 with SMTP id l1csp2424054lbt; Tue, 5 May 2015 11:43:58 -0700 (PDT) X-Received: by 10.55.15.213 with SMTP id 82mr59274810qkp.86.1430851437081; Tue, 05 May 2015 11:43:57 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id q12si17184993qkh.83.2015.05.05.11.43.55; Tue, 05 May 2015 11:43:57 -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 CCDC861E28; Tue, 5 May 2015 18:43:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal 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 ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 139A061DA2; Tue, 5 May 2015 18:43:54 +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 CA9FF61E27; Tue, 5 May 2015 18:43:52 +0000 (UTC) Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) by lists.linaro.org (Postfix) with ESMTPS id 1977F61DA2 for ; Tue, 5 May 2015 18:43:52 +0000 (UTC) Received: by qkx62 with SMTP id 62so112575025qkx.0 for ; Tue, 05 May 2015 11:43:51 -0700 (PDT) X-Received: by 10.140.19.111 with SMTP id 102mr35245241qgg.83.1430851431884; Tue, 05 May 2015 11:43:51 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id x69sm27803385qha.8.2015.05.05.11.43.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 May 2015 11:43:51 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 5 May 2015 14:43:44 -0400 Message-Id: <1430851424-23352-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH] linux-generic: odp_impl: concatenate api version with implementation version 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: mike.holmes@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.50 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: Mike Holmes --- platform/linux-generic/odp_impl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_impl.c b/platform/linux-generic/odp_impl.c index ca3224d..a182bc6 100644 --- a/platform/linux-generic/odp_impl.c +++ b/platform/linux-generic/odp_impl.c @@ -21,7 +21,11 @@ extern "C" { #include #define ODP_VERSION_IMPL 0 -#define ODP_VERSION_IMPL_STR ODP_VERSION_TO_STR(ODP_VERSION_IMPL) +#define ODP_VERSION_IMPL_STR \ + ODP_VERSION_TO_STR(ODP_VERSION_API_GENERATION) "." \ + ODP_VERSION_TO_STR(ODP_VERSION_API_MAJOR) "." \ + ODP_VERSION_TO_STR(ODP_VERSION_API_MINOR) "-" \ + ODP_VERSION_TO_STR(ODP_VERSION_IMPL) const char *odp_version_impl_str(void) {