Skip to content
Commit 444f20c2 authored by zhaoxinchao's avatar zhaoxinchao Committed by Vlastimil Babka
Browse files

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: default avatarzhaoxinchao <chrisxinchao@outlook.com>
Signed-off-by: default avatarVlastimil Babka <vbabka@suse.cz>
parent 44c026a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment