Re: [PATCH RFC v2] slab: introduce kmalloc_array

From: Joe Perches
Date: Thu Feb 09 2012 - 18:44:21 EST


On Thu, 2012-02-09 at 15:06 -0800, Andrew Morton wrote:
> On Thu, 9 Feb 2012 23:47:42 +0100 (CET)
> Jesper Juhl <jj@xxxxxxxxxxxxx> wrote:
> > > -static inline void *kcalloc(size_t n, size_t size, gfp_t flags)
> > > +static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags)
> []
> > Does this want adding to Documentation/CodingStyle "Chapter 14: Allocating
> > memory" ?
>
> Spose so. We could possibly cook up a checkpatch rule too ;)
> <gad, CodingStyle has 18 chapters and an appendix??>

Symmetry please.

[kv]malloc_array
[kv]malloc_node_array


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