linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@enneenne.com>
To: YueHaibing <yuehaibing@huawei.com>,
	davem@davemloft.net, richardcochran@gmail.com,
	sudipm.mukherjee@gmail.com, gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH -next] pps: using ERR_PTR instead of NULL while pps_register_source fails
Date: Mon, 26 Nov 2018 11:43:06 +0100	[thread overview]
Message-ID: <44edc27b-e679-24e8-aef1-fe5b7570f982@enneenne.com> (raw)
In-Reply-To: <20181126102422.24028-1-yuehaibing@huawei.com>

On 26/11/2018 11:24, YueHaibing wrote:
> pps_register_source() has keeps error codes in a local variable,
> but it does not make use of the code. This patch let it return
> the errcode in case of failure.
> 
> Suggested-by: Richard Cochran <richardcochran@gmail.com>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Acked-by: Rodolfo Giometti <giometti@enneenne.com>

  reply	other threads:[~2018-11-26 10:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-26 10:24 [PATCH -next] pps: using ERR_PTR instead of NULL while pps_register_source fails YueHaibing
2018-11-26 10:43 ` Rodolfo Giometti [this message]
2018-11-27  7:34   ` Greg KH
2018-11-27  8:36     ` Rodolfo Giometti
2018-11-27  8:54       ` Greg KH

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=44edc27b-e679-24e8-aef1-fe5b7570f982@enneenne.com \
    --to=giometti@enneenne.com \
    --cc=davem@davemloft.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=richardcochran@gmail.com \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=yuehaibing@huawei.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).