Re: [PATCH -next] i2c: nvidia-gpu: Use PTR_ERR_OR_ZERO() to simplify code

From: Wolfram Sang
Date: Wed May 27 2020 - 06:09:14 EST

On Wed, May 06, 2020 at 05:01:10PM +0800, Samuel Zou wrote:
> Fixes coccicheck warning:
> drivers/i2c/busses/i2c-nvidia-gpu.c:280:1-3: WARNING: PTR_ERR_OR_ZERO can be used
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Samuel Zou <zou_wei@xxxxxxxxxx>

Thanks, but has been fixed already with

Attachment: signature.asc
Description: PGP signature