[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <60316ec9-9c16-8485-8126-d89147347fa4@ti.com>
Date: Wed, 29 Nov 2017 13:02:17 +0530
From: Sekhar Nori <nsekhar@...com>
To: Vasyl Gomonovych <gomonovych@...il.com>, <khilman@...nel.org>,
<linux@...linux.org.uk>, <linux-arm-kernel@...ts.infradead.org>
CC: <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ARM: davinci: Use PTR_ERR_OR_ZERO()
On Tuesday 28 November 2017 04:33 AM, Vasyl Gomonovych wrote:
> Fix ptr_ret.cocci warnings:
> arch/arm/mach-davinci/devices-da8xx.c:255:8-14: WARNING: PTR_ERR_OR_ZERO can be used
> arch/arm/mach-davinci/devices-da8xx.c:300:8-14: WARNING: PTR_ERR_OR_ZERO can be used
> arch/arm/mach-davinci/dm646x.c:952:8-14: 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@...il.com>
Applied to v4.16/fixes-non-critical
Thanks,
Sekhar
Powered by blists - more mailing lists