On Wed, Apr 07, 2021 at 03:11:37AM +0000, Wei Yongjun wrote: > In case of error, the function i2c_new_client_device() returns > ERR_PTR() and never returns NULL. The NULL test in the return > value check should be replaced with IS_ERR(). > > Fixes: 17631e8ca2d3 ("i2c: designware: Add driver support for AMD NAVI GPU") > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Applied to for-next, thanks!
Attachment:
signature.asc
Description: PGP signature