Re: [PATCH] mm: Fixed incorrect comment for _kmem_cache_create function

From: Bagas Sanjaya
Date: Mon Apr 10 2023 - 10:05:30 EST


On Mon, Apr 10, 2023 at 05:01:42PM +0800, zhaoxinchao wrote:
> - * Returns a ptr to the cache on success, NULL on failure.
> + * Returns zero on success, others on failure.

Can you explain what these other return values are? I have skimmed on
__kmem_cache_create() kerneldoc and the function returns error in that
case.

--
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature