All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: Anand Jain <anand.jain@oracle.com>,
	kbuild-all@01.org, David Sterba <dsterba@suse.com>,
	Chris Mason <chris.mason@fusionio.com>, Chris Mason <clm@fb.com>,
	Josef Bacik <jbacik@fb.com>,
	linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] btrfs: fix err_cast.cocci warnings
Date: Mon, 29 Jan 2018 19:40:55 +0100	[thread overview]
Message-ID: <20180129184055.GC19355@twin.jikos.cz> (raw)
In-Reply-To: <20180128185010.GA26805@intel17.lkp.intel.com>

On Mon, Jan 29, 2018 at 02:50:10AM +0800, kbuild test robot wrote:
> From: Fengguang Wu <fengguang.wu@intel.com>
> 
> fs/btrfs/volumes.c:742:10-17: WARNING: ERR_CAST can be used with fs_devices
> 
> 
>  Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
> 
> Generated by: scripts/coccinelle/api/err_cast.cocci
> 
> Fixes: bf155c98d312 ("btrfs: get device pointer from device_list_add()")
> CC: Anand Jain <anand.jain@oracle.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Thanks for the fix, I'll fold it to the patch.

  reply	other threads:[~2018-01-29 18:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201801290206.Wy8wLcdm%fengguang.wu@intel.com>
2018-01-28 18:50 ` [PATCH] btrfs: fix err_cast.cocci warnings kbuild test robot
2018-01-29 18:40   ` David Sterba [this message]
2018-01-29 23:11     ` Anand Jain

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=20180129184055.GC19355@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=anand.jain@oracle.com \
    --cc=chris.mason@fusionio.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=fengguang.wu@intel.com \
    --cc=jbacik@fb.com \
    --cc=kbuild-all@01.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.