diff mbox

[PATCHv2] linux-gen: fix odp_pool_print

Message ID 1469546200-19030-1-git-send-email-maxim.uvarov@linaro.org
State Accepted
Commit e6fd300ada7529c9ae454c2ce537844a1c822d21
Headers show

Commit Message

Maxim Uvarov July 26, 2016, 3:16 p.m. UTC
commit: ec0d570 linux-gen: pool: optimize thread local buffer cache
removed elements for prints but did not remove that
from format string.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
 platform/linux-generic/odp_pool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.1.250.gff4ea60

Comments

Maxim Uvarov July 26, 2016, 4:03 p.m. UTC | #1
Merged,

trivial change.

Maxim.

On 07/26/16 18:16, Maxim Uvarov wrote:
> commit: ec0d570 linux-gen: pool: optimize thread local buffer cache

> removed elements for prints but did not remove that

> from format string.

>

> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

> ---

>   platform/linux-generic/odp_pool.c | 2 +-

>   1 file changed, 1 insertion(+), 1 deletion(-)

>

> 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);
diff mbox

Patch

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);