DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] mem: remove unneeded log
Date: Fri, 26 Jul 2013 17:08:23 +0200	[thread overview]
Message-ID: <201307261708.23631.thomas.monjalon@6wind.com> (raw)
In-Reply-To: <1374850483-9104-1-git-send-email-thomas.monjalon@6wind.com>

26/07/2013 16:54, Thomas Monjalon :
> From: Olivier Matz <olivier.matz@6wind.com>
> 
> Remove an error log in memzone_reserve_aligned_thread_unsafe().
> It is up to the caller to log the error, and this is already done
> in DPDK code (especially in network drivers).
> 
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> ---
>  lib/librte_eal/common/eal_common_memzone.c |    3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/lib/librte_eal/common/eal_common_memzone.c
> b/lib/librte_eal/common/eal_common_memzone.c index 5532f0d..cd60054 100644
> --- a/lib/librte_eal/common/eal_common_memzone.c
> +++ b/lib/librte_eal/common/eal_common_memzone.c
> @@ -198,9 +198,6 @@ memzone_reserve_aligned_thread_unsafe(const char *name,
> uint64_t len, return memzone_reserve_aligned_thread_unsafe(name, len -
> align, socket_id, 0, align);
> 
> -		RTE_LOG(ERR, EAL, "%s(%s, %" PRIu64 ", %d): "
> -			"No appropriate segment found\n",
> -			__func__, name, requested_len, socket_id);
>  		rte_errno = ENOMEM;
>  		return NULL;
>  	}

pushed

-- 
Thomas

      reply	other threads:[~2013-07-26 15:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 14:54 Thomas Monjalon
2013-07-26 15:08 ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201307261708.23631.thomas.monjalon@6wind.com \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).