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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 17 Jun 2022 09:20:13 +0800 (CST)
From:   "Liang He" <windhl@....com>
To:     "Stephen Boyd" <sboyd@...nel.org>
Cc:     jonathanh@...dia.com, pdeschrijver@...dia.com, pgaikwad@...dia.com,
        thierry.reding@...il.com, linux-clk@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re:Re: [PATCH v3] drivers: clk: Add missing of_node_put()



At 2022-06-17 08:09:11, "Stephen Boyd" <sboyd@...nel.org> wrote:
>Quoting Liang He (2022-06-16 05:54:09)
>> In these clk-related drivers' xxx_init() funcitons, of_find_matching_node()
>> will return a node pointer with refcount incremented. We should use
>> of_node_put() in fail path or when it is not used anymore.
>> 
>> Signed-off-by: Liang He <windhl@....com>
>> ---
>>  changelog:
>> 
>>  v3: merge clk 'missing of_node_put()' patches into one commit.
>>  v2: use Liang He as real name for S-o-b.
>>  v1: fix the missing of_node_put().
>> 
>> 
>>  drivers/clk/clk-nomadik.c        | 5 ++++-
>>  drivers/clk/tegra/clk-tegra124.c | 1 +
>>  drivers/clk/tegra/clk-tegra30.c  | 1 +
>
>Please split into a tegra patch and a nomadik patch.

Thanks, I will split them and resend soon.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ