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]
Date:	Fri, 15 Feb 2013 08:56:10 -0600 (CST)
From:	Aaron Sierra <asierra@...-inc.com>
To:	Samuel Ortiz <sameo@...ux.intel.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Anatol Pomozov <anatol.pomozov@...il.com>
Subject: Re: [PATCH] lpc_ich: use devres API to allocate private data


----- Original Message -----
> From: "Aaron Sierra" <asierra@...-inc.com>
> To: "Samuel Ortiz" <sameo@...ux.intel.com>
> Cc: "LKML" <linux-kernel@...r.kernel.org>
> Sent: Thursday, February 14, 2013 11:35:04 AM
> Subject: [PATCH] lpc_ich: use devres API to allocate private data
>
> 
> Signed-off-by: Aaron Sierra <asierra@...-inc.com>
> ---

[trim]

> -	priv = kmalloc(GFP_KERNEL, sizeof(struct lpc_ich_priv));
> +	priv = devm_kzalloc(&dev->dev,
> +			    sizeof(struct lpc_ich_priv), GFP_KERNEL);

Samuel,
Perhaps this should now include a comment about this patch also resolving the issue that Anatol reported yesterday?

-Aaron
--
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