diff options
| author | Gao Xiang <[email protected]> | 2023-01-10 07:49:27 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2023-01-10 08:41:45 +0000 |
| commit | 12724ba38992bd045e92a9a88a868a530f89d13e (patch) | |
| tree | 43348d3f2572d295989d9337bac5c6a998f9319d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | erofs/zmap.c: Fix incorrect offset calculation (diff) | |
| download | kernel-12724ba38992bd045e92a9a88a868a530f89d13e.tar.gz kernel-12724ba38992bd045e92a9a88a868a530f89d13e.zip | |
erofs: fix kvcalloc() misuse with __GFP_NOFAIL
As reported by syzbot [1], kvcalloc() cannot work with __GFP_NOFAIL.
Let's use kcalloc() instead.
[1] https://lore.kernel.org/r/[email protected]
Reported-by: [email protected]
Fixes: fe3e5914e6dc ("erofs: try to leave (de)compressed_pages on stack if possible")
Fixes: 4f05687fd703 ("erofs: introduce struct z_erofs_decompress_backend")
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
