From patchwork Tue Jul 26 15:09:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 72815 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1739362qga; Tue, 26 Jul 2016 08:10:06 -0700 (PDT) X-Received: by 10.55.43.229 with SMTP id r98mr30377123qkr.62.1469545806734; Tue, 26 Jul 2016 08:10:06 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j125si737441qkc.74.2016.07.26.08.10.06; Tue, 26 Jul 2016 08:10:06 -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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1DEC5687D2; Tue, 26 Jul 2016 15:10:06 +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 7A2C1687B8; Tue, 26 Jul 2016 15:09:59 +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 255E1687C4; Tue, 26 Jul 2016 15:09:57 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by lists.linaro.org (Postfix) with ESMTPS id B443A68711 for ; Tue, 26 Jul 2016 15:09:55 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id g62so7302171lfe.3 for ; Tue, 26 Jul 2016 08:09:55 -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=vihMZAYmSGsXpfjs1wN+8NTV0i5RjE2Na8Lm9qe7CcU=; b=OCxxCZLsU3CU7zQrpjVXWCJHHDmYjPqVus7MF/JQ3CRhmLGbL34/NrwX4jtcLez36Z B/AbjXoJWoDuJs5xowKH3RPn2XiN4Sd11KufJ6Ec95ofFFXXabv8sTzTuebfeivfIbQQ YS3O4lupPcnCgRYskTY+Ii2HeiOCpYXSVkWYIX+ntcYOALmDpkFNZC8UIz597vlYRm4W xLAniCYkerbXeJ2cdRJtWBQvht3U2r8AMsLeap7c41QCckCqFmtJT9eTAD1o3B652H0O whtOzAdx47DdfAb7tHLDb5RD1NB+7Ekf3w/I7LXGVqELBn2Zdy0TdQ+LqqMo+K7t8XNq Ixlw== X-Gm-Message-State: AEkoous5I6DBZsUd4OJdxMGueJoizLhaAv5Cx5wUaKsc09CaeoOHLiQPh28Vo0T3+EEQTAl0yKM= X-Received: by 10.25.127.214 with SMTP id a205mr9782785lfd.142.1469545794610; Tue, 26 Jul 2016 08:09:54 -0700 (PDT) Received: from localhost.localdomain ([83.220.239.65]) by smtp.gmail.com with ESMTPSA id u11sm205044lja.12.2016.07.26.08.09.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jul 2016 08:09:53 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 26 Jul 2016 18:09:47 +0300 Message-Id: <1469545787-18801-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 X-Topics: patch Subject: [lng-odp] [PATCH] linux-gen: fix odp_pool_print 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" commit: 2d2e479 linux-gen: fix odp_pool_print removed elements for prints but did not remove that from format string. Signed-off-by: Maxim Uvarov --- somehow it passed odp-check run, I think we were lucky with stack allocation :) platform/linux-generic/odp_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.1.250.gff4ea60 diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index 0a427ed..415c9fa 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -1103,7 +1103,7 @@ void odp_pool_print(odp_pool_t pool_hdl) odp_shm_to_u64(pool->s.pool_shm)); ODP_DBG(" pool status %s\n", pool->s.quiesced ? "quiesced" : "active"); - ODP_DBG(" pool opts %s, %s, %s\n", + ODP_DBG(" pool opts %s, %s\n", pool->s.flags.unsegmented ? "unsegmented" : "segmented", pool->s.flags.predefined ? "predefined" : "created"); ODP_DBG(" pool base %p\n", pool->s.pool_base_addr);