[PATCH 1/2] NVMe: Cocci spatch "kzalloc-simple"

Verma, Vishal L vishal.l.verma at intel.com
Thu Sep 19 18:25:24 EDT 2013


On 9/19/13 3:45 PM, "Thomas Meyer" <thomas at m3y3r.de> wrote:

>Use kzalloc rather than kmalloc followed by memset with 0.
>Found by coccinelle spatch "api/alloc/kzalloc-simple.cocci"
>
>Signed-off-by: Thomas Meyer <thomas at m3y3r.de>
>---

Thomas,

This has already been applied to Matthew's tree:
http://git.infradead.org/users/willy/linux-nvme.git/commitdiff/03ea83e9a37e
41d436f8348e6eee3d8281bfff3a


-Vishal




More information about the Linux-nvme mailing list