On Thu, May 16, 2019 at 3:50 AM Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> wrote: > Use the PTR_ERR_OR_ZERO() macro instead of construct: > > if (IS_ERR(foo)) > return PTR_ERR(foo); > > return 0; > > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > Fixes: 3ae854cafd76 ("rcar-csi2: Use standby mode instead of resetting") > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds