On Thu, May 16, 2019 at 3:50 AM Niklas Söderlund <[email protected]> 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 <[email protected]> > Fixes: 3ae854cafd76 ("rcar-csi2: Use standby mode instead of resetting") > Signed-off-by: Niklas Söderlund <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
