[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171204171142.GI32417@localhost>
Date: Mon, 4 Dec 2017 22:41:43 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Vasyl Gomonovych <gomonovych@...il.com>
Cc: sudeep.dutt@...el.com, ashutosh.dixit@...el.com,
dan.j.williams@...el.com, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dma: MIC X100: Use PTR_ERR_OR_ZERO()
On Tue, Nov 28, 2017 at 12:07:08AM +0100, Vasyl Gomonovych wrote:
> Fix ptr_ret.cocci warnings:
> drivers/dma/mic_x100_dma.c:483: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
Applied after fixing subystem name and driver tag
--
~Vinod
Powered by blists - more mailing lists