]> www.infradead.org Git - linux.git/commit
mm/slab: correct return values in comment for _kmem_cache_create()
authorzhaoxinchao <chrisxinchao@outlook.com>
Tue, 18 Apr 2023 02:05:23 +0000 (10:05 +0800)
committerVlastimil Babka <vbabka@suse.cz>
Mon, 22 May 2023 13:17:19 +0000 (15:17 +0200)
commit444f20c29e8b41a5aef5c34e3eab84e8d1cc4511
treefc2daf8eabe90feb79525a92ea2a67548b5fae08
parent44c026a73be8038f03dbdeef028b642880cf1511
mm/slab: correct return values in comment for _kmem_cache_create()

__kmem_cache_create() returns 0 on success and non-zero on failure.
The comment is wrong in two instances, so fix the first one and remove
the second one. Also make the comment non-doc, because it doesn't
describe an API function, but SLAB-specific implementation.

Signed-off-by: zhaoxinchao <chrisxinchao@outlook.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slab.c