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

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


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

>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/03ea83e9a37
>e
>41d436f8348e6eee3d8281bfff3a
>
>
>-Vishal
>
>
>_______________________________________________
>Linux-nvme mailing list
>Linux-nvme at lists.infradead.org
>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




More information about the Linux-nvme mailing list