Re: [PATCH 1/2] string: make kmemdup_nul take and return void*, not char*

From: Rasmus Villemoes
Date: Tue Sep 18 2018 - 03:15:41 EST


On 7 September 2018 at 09:46, Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> wrote:
> This allows kmemdup_nul to be used in cases where the source pointer is
> not a char* or const char*, but the result should nevertheless have a
> nul char after the memcpy'ed data.

ping