Documentation: update CodingStyle memory allocators
PATCH 1/1 Documentation: update CodingStyle memory allocators
From: Jesper Juhl <[email protected]>
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 <[email protected]>
Signed-off-by Randy Dunlap <[email protected]>
--- Documentation/CodingStyle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/CodingStyle +2 -2
@@ -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: