Re: [PATCH 1/2] remoteproc: rcar_rproc: fix pm_runtime_get_sync error check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux