diff options
author | 2023-04-13 22:34:48 +0800 | |
---|---|---|
committer | 2023-05-22 15:20:21 +0200 | |
commit | 35973232b5cddd8b03dac2730cd1ca53137d1cd4 (patch) | |
tree | a186cde6f46a8ad09d81c06755c019c8478eaf00 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/slab: correct return values in comment for _kmem_cache_create() (diff) | |
download | wireguard-linux-35973232b5cddd8b03dac2730cd1ca53137d1cd4.tar.xz wireguard-linux-35973232b5cddd8b03dac2730cd1ca53137d1cd4.zip |
slub: Correct the error code when slab_kset is NULL
The -ENOSYS is inproper when kset_create_and_add call returns a NULL
pointer, the failure more likely is because lacking memory, hence
returning -ENOMEM is better.
Signed-off-by: Xiongwei Song <xiongwei.song@windriver.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions