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]
Message-ID: <81390f07-a968-7e90-64e5-78fa7db868f6@linaro.org>
Date:   Wed, 18 Mar 2020 13:41:43 +0000
From:   Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To:     Anson Huang <Anson.Huang@....com>, shawnguo@...nel.org,
        s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc:     Linux-imx@....com
Subject: Re: [PATCH] nvmem: mxs-ocotp: Use devm_add_action_or_reset() for
 cleanup



On 14/03/2020 07:11, Anson Huang wrote:
> Use devm_add_action_or_reset() for cleanup to call clk_unprepare(),
> which can simplify the error handling in .probe, and .remove callback
> can be dropped.
> 
> Signed-off-by: Anson Huang <Anson.Huang@....com>
> ---
>   drivers/nvmem/mxs-ocotp.c | 30 +++++++++++-------------------
>   1 file changed, 11 insertions(+), 19 deletions(-)
> 

Applied thanks,

srini

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ