[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-doc
Subject:    Re: [PATCH] Update reference to memory allocators in CodingStyle to
From:       Randy Dunlap <rdunlap () xenotime ! net>
Date:       2011-06-22 17:13:51
Message-ID: 20110622101351.9a183856.rdunlap () xenotime ! net
[Download RAW message or body]

On Wed, 22 Jun 2011 13:47:16 +0200 (CEST) Jesper Juhl wrote:

> 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 <jj@chaosbits.net>

Applied, thanks Jesper.


> ---
>  Documentation/CodingStyle |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> 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:
>  
> -- 

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic