Skip to content
Snippets Groups Projects
Commit e6d62bbf authored by Alexander Lobakin's avatar Alexander Lobakin
Browse files

[contrib][linux] Fix build with CONFIG_WERROR


Linux 5.15 introduces a new Kconfig option, CONFIG_WERROR, which
forces -Werror for the entire kernel.
Current in-kernel ZSTD implementation uses functions deprecated
in 1.5.0, and thus fails on -Wdeprecated-declarations.
Turn this particular error into warning to be able to build the
kernel with CONFIG_WERROR. I'm not disabling them completely to
make sure they'll be visible and [hopefully] fixed sooner or later.

Signed-off-by: default avatarAlexander Lobakin <alobakin@pm.me>
parent c7afbec4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment