linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: weiyj_lk@163.com, Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: [PATCH -next] iio: pressure: bmp280: fix wrong pointer passed to PTR_ERR()
Date: Fri, 22 Jul 2016 15:10:15 +0200	[thread overview]
Message-ID: <CACRpkdYMxn8fPLk_0tSBxA21RbL8A0BN36QtN4P4-OMeCa1GAA@mail.gmail.com> (raw)
In-Reply-To: <1468494371-23371-1-git-send-email-weiyj_lk@163.com>

On Thu, Jul 14, 2016 at 1:06 PM,  <weiyj_lk@163.com> wrote:

> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> PTR_ERR should access the value just tested by IS_ERR, otherwise
> the wrong error code will be returned.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>

My wrong! Thanks for fixing this.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linuys Walleij

  reply	other threads:[~2016-07-22 13:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1468487141-20016-1-git-send-email-weiyj_lk@163.com>
2016-07-14 11:06 ` [PATCH -next] iio: pressure: bmp280: fix wrong pointer passed to PTR_ERR() weiyj_lk
2016-07-22 13:10   ` Linus Walleij [this message]
2016-07-23  6:45     ` Jonathan Cameron

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=CACRpkdYMxn8fPLk_0tSBxA21RbL8A0BN36QtN4P4-OMeCa1GAA@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    --cc=weiyj_lk@163.com \
    --cc=yongjun_wei@trendmicro.com.cn \
    /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).