diff options
author | zhaoxinchao <[email protected]> | 2023-04-18 10:05:23 +0800 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2023-05-22 15:17:19 +0200 |
commit | 444f20c29e8b41a5aef5c34e3eab84e8d1cc4511 (patch) | |
tree | fc2daf8eabe90feb79525a92ea2a67548b5fae08 /lib/test_fortify/write_overflow-strcpy.c | |
parent | 44c026a73be8038f03dbdeef028b642880cf1511 (diff) |
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 <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions