Re: [PATCH v1 1/1] mm/util: Rephrase documentation for kmemdup_nul() to clarify input

From: Matthew Wilcox
Date: Mon Jul 19 2021 - 08:45:01 EST


On Mon, Jul 19, 2021 at 03:20:02PM +0300, Andy Shevchenko wrote:
> kmemdup_nul() strictly speaking is not related to the string API,
> while being quite useful for it. Rephrase documentation to make it
> clear that input data can be anything (any data, which may contain
> any bytes, including 0x00).

That's not a useful thing to do, though. This rephrasing you've
done is more confusing than the original.