netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: bianpan201602@163.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	bianpan2016@163.com
Subject: Re: [PATCH 1/1] net: dcb: set error code on failures
Date: Sat, 03 Dec 2016 23:55:03 -0500 (EST)	[thread overview]
Message-ID: <20161203.235503.558375941675604872.davem@davemloft.net> (raw)
In-Reply-To: <1480772948-7087-1-git-send-email-bianpan201602@163.com>

From: Pan Bian <bianpan201602@163.com>
Date: Sat,  3 Dec 2016 21:49:08 +0800

> From: Pan Bian <bianpan2016@163.com>
> 
> In function dcbnl_cee_fill(), returns the value of variable err on
> errors. However, on some error paths (e.g. nla put fails), its value may
> be 0. It may be better to explicitly set a negative errno to variable
> err before returning.
> 
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188881
> 
> Signed-off-by: Pan Bian <bianpan2016@163.com>

Applied, thanks.

      reply	other threads:[~2016-12-04  4:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-03 13:49 [PATCH 1/1] net: dcb: set error code on failures Pan Bian
2016-12-04  4:55 ` David Miller [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=20161203.235503.558375941675604872.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=bianpan201602@163.com \
    --cc=bianpan2016@163.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.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).