Re: [PATCH] kmalloc man page before 2.6.17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 May 2006, Paul Drynoff wrote:
> Actually, this is not full duplication:
> __do_kmalloc(size_t size, gfp_t flags,
>                                          void *caller)
> and
> void *kmalloc(size_t size, gfp_t gfp)
> 
> they have different amount of arguments and different arguments names.
> 
> But as I see include/linux/slab.h is better place. See patch.
> 
> It will be great to create another entry for flags of "kmalloc* family
> functions,
> so we can avoid duplication of this in __do_kmalloc and kmalloc
> comments, but I don't know is it possible with scripts/kernel-doc.
> 
> Signed-off-by: Paul Drynoff <[email protected]>

Just drop the __do_kmalloc() comment completely.  Did you check that 
kerneldoc picks it up for the generated API docs?  Btw, you should send 
this to Andrew at [email protected] instead of Linus.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux