mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Lyle <mlyle@lyle.org>
To: Vasyl Gomonovych <gomonovych@gmail.com>,
	kent.overstreet@gmail.com, shli@kernel.org, mingo@kernel.org,
	axboe@fb.com, gregkh@linuxfoundation.org,
	kstewart@linuxfoundation.org, linux-bcache@vger.kernel.org,
	linux-raid@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bcache: Use PTR_ERR_OR_ZERO()
Date: Tue, 28 Nov 2017 08:18:57 -0800	[thread overview]
Message-ID: <d9b8fd4b-cb38-0bc9-cc27-0029cfe0a936@lyle.org> (raw)
In-Reply-To: <1511823900-3151-1-git-send-email-gomonovych@gmail.com>

On 11/27/2017 03:05 PM, Vasyl Gomonovych wrote:
> Fix ptr_ret.cocci warnings:
> drivers/md/bcache/btree.c:1800:1-3: WARNING: PTR_ERR_OR_ZERO can be used
> 
> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
> 
> Generated by: scripts/coccinelle/api/ptr_ret.cocci
> 
> Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>

lgtm.

Reviewed-by: Michael Lyle <mlyle@lyle.org>

Will carry in my tree.

      parent reply	other threads:[~2017-11-28 16:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-27 23:05 Vasyl Gomonovych
2017-11-28  3:38 ` Coly Li
2017-11-28 16:18 ` Michael Lyle [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=d9b8fd4b-cb38-0bc9-cc27-0029cfe0a936@lyle.org \
    --to=mlyle@lyle.org \
    --cc=axboe@fb.com \
    --cc=gomonovych@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kent.overstreet@gmail.com \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-bcache@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=shli@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

all inboxes | Powered by JetHome®