From: Jesper Juhl Date: Wed, 6 Jul 2011 18:27:17 +0000 (-0700) Subject: Documentation: update CodingStyle memory allocators X-Git-Tag: upstream/snapshot3+hdmi~9726 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=316b3799880c55bb20f6d2db904245eccc30e25f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Documentation: update CodingStyle memory allocators The list of available general purpose memory allocators in Documentation/CodingStyle chapter 14 is incomplete. This patch adds the missing vzalloc() to the list. Signed-off-by: Jesper Juhl Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds --- diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle index 58b0bf9..fa6e25b 100644 --- a/Documentation/CodingStyle +++ b/Documentation/CodingStyle @@ -680,8 +680,8 @@ ones already enabled by DEBUG. Chapter 14: Allocating memory The kernel provides the following general purpose memory allocators: -kmalloc(), kzalloc(), kcalloc(), and vmalloc(). Please refer to the API -documentation for further information about them. +kmalloc(), kzalloc(), kcalloc(), vmalloc(), and vzalloc(). Please refer to +the API documentation for further information about them. The preferred form for passing a size of a struct is the following: