Re: [PATCH v1 1/1] ext4: Mark ctx_*_flags() with __maybe_unused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux