lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200605105608.GN71940@ediswmail.ad.cirrus.com>
Date:   Fri, 5 Jun 2020 10:56:08 +0000
From:   Charles Keepax <ckeepax@...nsource.cirrus.com>
To:     Navid Emamdoost <navid.emamdoost@...il.com>
CC:     Linus Walleij <linus.walleij@...aro.org>,
        Bartosz Golaszewski <bgolaszewski@...libre.com>,
        <patches@...nsource.cirrus.com>, <linux-gpio@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <emamd001@....edu>,
        <wu000273@....edu>, <kjlu@....edu>, <smccaman@....edu>
Subject: Re: [PATCH] gpio: arizona: put pm_runtime in case of failure

On Thu, Jun 04, 2020 at 10:00:52PM -0500, Navid Emamdoost wrote:
> Calling pm_runtime_get_sync increments the counter even in case of
> failure, causing incorrect ref count if pm_runtime_put is not called in
> error handling paths. Call pm_runtime_put if pm_runtime_get_sync fails.
> 
> Signed-off-by: Navid Emamdoost <navid.emamdoost@...il.com>
> ---

Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>

Thanks,
Charles

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ