[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <AC558223-1270-4343-934B-AB943054BADA@gmail.com>
Date: Sun, 12 Feb 2012 00:46:44 -0500
From: Xi Wang <xi.wang@...il.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: Jens Axboe <axboe@...nel.dk>, Pekka Enberg <penberg@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
linux-kernel@...r.kernel.org, Christoph Lameter <cl@...ux.com>,
Matt Mackall <mpm@...enic.com>,
David Rientjes <rientjes@...gle.com>
Subject: Re: [PATCH RFC v2] slab: introduce kmalloc_array
On Feb 11, 2012, at 7:19 AM, Alexey Dobriyan wrote:
> But there is no misuse.
>
> Both kaalloc(non-const, const) and kaalloc(const, non-const) are OK.
> It's just first case happens more often.
Any k*alloc(const, non-const) example? I feel like in most cases
it is the caller code that should get fixed, such as:
https://lkml.org/lkml/2012/2/10/135
- xi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists