[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALAqxLVzsQs6_G9DOTkaBsUa93-97c136mtx7WRPNjBFjfkyAA@mail.gmail.com>
Date: Mon, 2 Nov 2020 22:11:25 -0800
From: John Stultz <john.stultz@...aro.org>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
lkml <linux-kernel@...r.kernel.org>,
linux-safety@...ts.elisa.tech
Subject: Re: [PATCH] misc: hisi_hikey_usb: use PTR_ERR_OR_ZERO
On Mon, Oct 26, 2020 at 11:02 AM Sudip Mukherjee
<sudipm.mukherjee@...il.com> wrote:
>
> Coccinelle suggested using PTR_ERR_OR_ZERO() and looking at the code,
> we can use PTR_ERR_OR_ZERO() instead of checking IS_ERR() and then
> doing 'return 0'.
>
> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Thanks for sending this!
Acked-by: John Stultz <john.stultz@...aro.org>
thanks
-john
Powered by blists - more mailing lists