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: <aTF58mCw4qk2RIAd@smile.fi.intel.com>
Date: Thu, 4 Dec 2025 14:09:22 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Wentao Guan <guanwentao@...ontech.com>
Cc: brgl@...nel.org, mathieu.dubois-briand@...tlin.com,
	ioana.ciornei@....com, linux-gpio@...r.kernel.org,
	linux-kernel@...r.kernel.org, zhanjun@...ontech.com,
	niecheng1@...ontech.com, stable@...r.kernel.org,
	WangYuli <wangyl5933@...naunicom.cn>
Subject: Re: [PATCH v3] gpio: regmap: Fix memleak in gpio_remap_register

On Thu, Dec 04, 2025 at 06:13:04PM +0800, Wentao Guan wrote:
> We should call gpiochip_remove(chip) to free the resource
> alloced by gpiochip_add_data(chip, gpio) after the err path.

Thanks, LGTM now
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ