Re: [PATCH v2] rust: allow to use INIT_STACK_ALL_ZERO

From: Miguel Ojeda
Date: Thu Apr 06 2023 - 18:52:35 EST


On Sat, Feb 11, 2023 at 3:35 PM Andrea Righi <andrea.righi@xxxxxxxxxxxxx> wrote:
>
> oic, with clang-16 we get a deprecated warning (but it doesn't fail),
> then starting with clang-17 the -enable.. flag is not available anymore.

Wait, Kees' link says it is deprecated in Clang 16, and the removal
will happen in 18.

> Then I agree that a better check would be version < 16, instead of < 17.

Applied to `rust-fixes` with that changed. Please take a look if it is
what you expected (both content and commit message):
https://github.com/Rust-for-Linux/linux/commit/1921ea54ab0d91d7a660c5bb980fce1efc9223f9

Thanks!

Cheers,
Miguel