DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Zhang, Helin" <helin.zhang@intel.com>
To: "Mrzyglod, DanielX T" <danielx.t.mrzyglod@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] examples/kni: unchecked return value
Date: Mon, 9 May 2016 08:49:49 +0000	[thread overview]
Message-ID: <F35DEAC7BCE34641BA9FAC6BCA4A12E70AA272AF@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1462786710-22032-1-git-send-email-danielx.t.mrzyglod@intel.com>



> -----Original Message-----
> From: Mrzyglod, DanielX T
> Sent: Monday, May 9, 2016 5:39 PM
> To: Zhang, Helin <helin.zhang@intel.com>
> Cc: dev@dpdk.org; Mrzyglod, DanielX T <danielx.t.mrzyglod@intel.com>
> Subject: [PATCH] examples/kni: unchecked return value
> 
> Fix issue reported by Coverity.
> Coverity ID 30692
> 
> If the function returns an error value, the error value may be mistaken for a
> normal value.
> 
> In kni_free_kni: Value returned from a function is not checked for errors before
> being used
> 
> Fixes: b475eb0bc400 ("examples/kni: new parameters")
> 
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>

  reply	other threads:[~2016-05-09  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-09  9:38 Daniel Mrzyglod
2016-05-09  8:49 ` Zhang, Helin [this message]
2016-05-16 12:32 ` Thomas Monjalon

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=F35DEAC7BCE34641BA9FAC6BCA4A12E70AA272AF@SHSMSX103.ccr.corp.intel.com \
    --to=helin.zhang@intel.com \
    --cc=danielx.t.mrzyglod@intel.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).