diff options
| author | Gao Xiang <[email protected]> | 2025-01-14 13:04:54 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-01-25 06:47:28 +0000 |
| commit | f0ef073e213a3a1a494b6f55a76ce1242600a453 (patch) | |
| tree | 3ac9d0e165ca158cac7931e3fd0037a4489d1491 /mm/sparse.c | |
| parent | Xarray: use xa_mark_t in xas_squash_marks() to keep code consistent (diff) | |
| download | kernel-f0ef073e213a3a1a494b6f55a76ce1242600a453.tar.gz kernel-f0ef073e213a3a1a494b6f55a76ce1242600a453.zip | |
include/linux/lz4.h: add some missing macros
Currently, LZ4_DISTANCE_MAX and LZ4_DECOMPRESS_INPLACE_MARGIN are
defined in the erofs subsystem for LZ4 in-place decompression, which is
somewhat unsuitable since they should belong to the LZ4 itself and
may change with future LZ4 codebase updates.
Move them to include/linux/lz4.h to match the upstream LZ4 library [1].
No logic changes.
[1] https://github.com/lz4/lz4/blob/v1.10.0/lib/lz4.h#L670
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Cc: Yann Collet <[email protected]>
Cc: Nick Terrell <[email protected]>
Cc: Chao Yu <[email protected]>
Cc: Yue Hu <[email protected]>
Cc; Jeffle Xu <[email protected]>
Cc: Sandeep Dhavale <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions
