Go to file
Gao Xiang f0ef073e21 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/20250114130454.1191150-1-hsiangkao@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Cc: Yann Collet <yann.collet.73@gmail.com>
Cc: Nick Terrell <terrelln@fb.com>
Cc: Chao Yu <chao@kernel.org>
Cc: Yue Hu <zbestahu@gmail.com>
Cc; Jeffle Xu <jefflexu@linux.alibaba.com>
Cc: Sandeep Dhavale <dhavale@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-01-24 22:47:28 -08:00
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs include/linux/lz4.h: add some missing macros 2025-01-24 22:47:28 -08:00
include include/linux/lz4.h: add some missing macros 2025-01-24 22:47:28 -08:00
init
io_uring
ipc ipc/util.c: complete the kernel-doc function descriptions 2025-01-24 22:47:27 -08:00
kernel gcov: clang: use correct function param names 2025-01-24 22:47:27 -08:00
lib include/linux/lz4.h: add some missing macros 2025-01-24 22:47:28 -08:00
mm
net
rust
samples
scripts checkpatch: don't warn about extra parentheses in staging/ 2025-01-24 22:47:24 -08:00
security
sound
tools Xarray: do not return sibling entries from xas_find_marked() 2025-01-24 22:47:27 -08:00
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap mailmap: update entry for Linus Lüssing 2025-01-24 22:47:23 -08:00
.rustfmt.toml
COPYING
CREDITS CREDITS: fix spelling mistake 2025-01-24 22:47:25 -08:00
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: fix list entries with display names 2025-01-24 22:47:22 -08:00
Makefile
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.