Follow the steps: https://github.com/facebook/zstd/blob/v1.5.5/contrib/linux-kernel/README.md The following committed changes are also preserved: lib: zstd: Don't inline functions in zstd_opt.c <Nick Terrell> lib: zstd: Fix attribute declaration <cyberknight777> Signed-off-by: TogoFire <togofire@mailfence.com> Change-Id: I2f85cd983b1ac66dd4de7ff45ed36f96ab1ed35d Signed-off-by: kanonifyX <kanonify01@gmail.com>