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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdar_H=siMOrzddgw94uA76bZPCgZPpWVwVE28L47CXjOg@mail.gmail.com>
Date:	Wed, 28 Nov 2012 16:48:14 +0100
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Tushar Behera <tushar.behera@...aro.org>
Cc:	linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	sameo@...ux.intel.com, srinidhi.kasagar@...ricsson.com,
	patches@...aro.org, Lee Jones <lee.jones@...aro.org>
Subject: Re: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated data

On Fri, Nov 23, 2012 at 1:18 PM, Tushar Behera <tushar.behera@...aro.org> wrote:

> The objects allocated by devm_* APIs are managed by devres and are
> freed when the device is detached. Hence there is no need to remove
> them explicitly in remove function.
>
> Signed-off-by: Tushar Behera <tushar.behera@...aro.org>

Looks good to me.
Acked-by: Linus Walleij <linus.walleij@...aro.org>

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ