lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180129184055.GC19355@twin.jikos.cz>
Date:   Mon, 29 Jan 2018 19:40:55 +0100
From:   David Sterba <dsterba@...e.cz>
To:     kbuild test robot <fengguang.wu@...el.com>
Cc:     Anand Jain <anand.jain@...cle.com>, kbuild-all@...org,
        David Sterba <dsterba@...e.com>,
        Chris Mason <chris.mason@...ionio.com>,
        Chris Mason <clm@...com>, Josef Bacik <jbacik@...com>,
        linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs: fix err_cast.cocci warnings

On Mon, Jan 29, 2018 at 02:50:10AM +0800, kbuild test robot wrote:
> From: Fengguang Wu <fengguang.wu@...el.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@...cle.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ