Re: [PATCH v1 1/1] ext4: Mark ctx_*_flags() with __maybe_unused
From: Theodore Ts'o
Date: Thu Nov 07 2024 - 10:14:12 EST
On Thu, 05 Sep 2024 19:32:29 +0300, Andy Shevchenko wrote:
> When ctx_set_flags() is unused, it prevents kernel builds
> with clang, `make W=1` and CONFIG_WERROR=y:
>
> .../ext4/super.c:2120:1: error: unused function 'ctx_set_flags' [-Werror,-Wunused-function]
> 2120 | EXT4_SET_CTX(flags); /* set only */
> | ^~~~~~~~~~~~~~~~~~~
>
> [...]
Applied, thanks!
[1/1] ext4: Mark ctx_*_flags() with __maybe_unused
commit: 7bdb90e0f6c832c00a4c0a5d841aa367502dbfef
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>