Messages in this thread | | | From | John Stultz <> | Date | Mon, 2 Nov 2020 22:11:25 -0800 | 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@gmail.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@gmail.com>
Thanks for sending this!
Acked-by: John Stultz <john.stultz@linaro.org>
thanks -john
| |