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

From: Verma, Vishal L
Date: Thu Sep 19 2013 - 18:29:38 EST


On 9/19/13 4:25 PM, "Verma, Vishal L" <vishal.l.verma@xxxxxxxxx> wrote:

>On 9/19/13 3:45 PM, "Thomas Meyer" <thomas@xxxxxxxx> 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@xxxxxxxx>
>>---
>
>Thomas,
>
>This has already been applied to Matthew's tree:
>http://git.infradead.org/users/willy/linux-nvme.git/commitdiff/03ea83e9a37
>e
>41d436f8348e6eee3d8281bfff3a
>
>
>-Vishal
>
>
>_______________________________________________
>Linux-nvme mailing list
>Linux-nvme@xxxxxxxxxxxxxxxxxxx
>http://merlin.infradead.org/mailman/listinfo/linux-nvme
>

And in Linus' tree - applied in 3.11
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=
03ea83e9a37e41d436f8348e6eee3d8281bfff3a

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