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: <20241001112908.6863-1-riyandhiman14@gmail.com>
Date: Tue,  1 Oct 2024 16:58:39 +0530
From: Riyan Dhiman <riyandhiman14@...il.com>
To: viresh.kumar@...aro.org,
	rafael@...nel.org
Cc: linux-pm@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH v2] cpufreq: mediatek: Fix resource leaks on mtk_cpu_create_freq_table() failure

> Since this driver already uses devm_* APIs, what about using them
> instead ?

Since ioremap was called that's why I added a goto statement to handle
the cleanup.
In this file, devm_kzalloc and devm_regulator_get are called. Do I need 
to call this devm_platform_ioremap_resource instead of ioremap if devm_* 
api need to be used?

Regards,
Riyan Dhiman

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ