Hi Jinjie, On Thu, Aug 31, 2023 at 10:03:34PM +0800, Jinjie Ruan wrote: > Since debugfs_create_dir() returns ERR_PTR and never return NULL, So use > IS_ERR() to check it instead of checking NULL. > > Fixes: 14911c6f48ec ("i2c: gpio: add fault injector") > Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx> Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxx> Thanks, Andi