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 <[email protected]>
lgtm.
Reviewed-by: Michael Lyle <[email protected]>
Will carry in my tree.
From 1585279667856478736@xxx Tue Nov 28 03:41:43 +0000 2017
X-GM-THRID: 1585262360209647445
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread