[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6062.1493842387@warthog.procyon.org.uk>
Date: Wed, 03 May 2017 21:13:07 +0100
From: David Howells <dhowells@...hat.com>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: dhowells@...hat.com, viro@...iv.linux.org.uk,
linux-fsdevel@...r.kernel.org, linux-nfs@...r.kernel.org,
linux-kernel@...r.kernel.org, mszeredi@...hat.com
Subject: Re: [PATCH 1/9] Provide a function to create a NUL-terminated string from unterminated data
Rasmus Villemoes <linux@...musvillemoes.dk> wrote:
> > Provide a function, kstrcreate()
>
> <bikeshed>why not kmemdup_nul, since it seems to be to kmemdup exactly as
> memdup_user_nul is to memdup_user?</bikeshed>
Yeah, that would work too. Or kmem2str().
David
Powered by blists - more mailing lists