On Thu, Dec 16, 2021 at 5:07 PM Julien Massot <julien.massot@xxxxxxx> wrote: > pm_runtime_get_sync can also return 1 on success, change > to use pm_runtime_resume_and_get which return 0 only on > success. > > This bug has been discovered by Dan Carpenter by using Smatch > static checker. > > Fixes: 285892a74f13 ("remoteproc: Add Renesas rcar driver") > Please no blank lines between tags. > Signed-off-by: Julien Massot <julien.massot@xxxxxxx> 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