Commit 444f20c
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>1 parent 44c026a commit 444f20c
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1887 | 1887 | | |
1888 | 1888 | | |
1889 | 1889 | | |
1890 | | - | |
| 1890 | + | |
1891 | 1891 | | |
1892 | 1892 | | |
1893 | 1893 | | |
1894 | 1894 | | |
1895 | | - | |
1896 | | - | |
1897 | | - | |
| 1895 | + | |
1898 | 1896 | | |
1899 | 1897 | | |
1900 | 1898 | | |
| |||
1907 | 1905 | | |
1908 | 1906 | | |
1909 | 1907 | | |
1910 | | - | |
1911 | | - | |
1912 | 1908 | | |
1913 | 1909 | | |
1914 | 1910 | | |
| |||
0 commit comments