From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Tomasz Duszynski <tdu@semihalf.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] net/mrvl: reset errno before library call
Date: Thu, 2 Nov 2017 11:57:27 -0700 [thread overview]
Message-ID: <46ddd614-26cd-0bdb-1a12-8ab7141b7d8c@intel.com> (raw)
In-Reply-To: <1509611845-19698-1-git-send-email-tdu@semihalf.com>
On 11/2/2017 1:37 AM, Tomasz Duszynski wrote:
> In case errno contains some non-zero value and call to strtoul() is
> successful -2 error will be returned.
>
> Setting errno to zero before calling strtoul() makes sure
> errors will be handled correctly.
>
> Fixes: 0ddc9b815b11 ("net/mrvl: add net PMD skeleton")
>
> Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
Applied to dpdk-next-net/master, thanks.
prev parent reply other threads:[~2017-11-02 18:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-02 8:37 Tomasz Duszynski
2017-11-02 18:57 ` Ferruh Yigit [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=46ddd614-26cd-0bdb-1a12-8ab7141b7d8c@intel.com \
--to=ferruh.yigit@intel.com \
--cc=dev@dpdk.org \
--cc=tdu@semihalf.com \
/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).