Andy Shevchenko 667de03a3b ext4: mark ctx_*_flags() with __maybe_unused
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 */
      | ^~~~~~~~~~~~~~~~~~~

Fix this by marking ctx_*_flags() with __maybe_unused
(mark both for the sake of symmetry).

See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static
inline functions for W=1 build").

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240905163229.140522-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2024-11-12 23:54:13 -05:00
..
2024-09-16 13:07:59 +02:00
2024-10-15 11:06:45 -07:00
2024-10-16 09:30:20 -07:00
2024-07-15 11:14:59 -07:00
2024-07-15 11:14:59 -07:00
2024-10-14 11:12:09 -07:00
2024-09-16 09:14:02 +02:00
2024-10-11 15:12:07 +00:00
2024-10-17 00:28:06 -07:00
2024-09-23 11:55:17 -07:00
2024-09-19 06:38:43 +02:00
2024-10-08 10:53:06 -07:00
2024-09-19 10:18:15 +02:00
2024-05-28 11:52:53 +02:00
\n
2024-09-23 10:49:28 -07:00
2024-08-21 22:32:58 +02:00
2024-04-23 13:27:43 +02:00
2024-10-02 12:02:15 -07:00
2024-08-29 06:20:44 +12:00
2024-07-15 11:14:59 -07:00
2024-09-16 08:54:30 +02:00
2024-09-16 08:35:09 +02:00
2024-09-18 08:53:53 +02:00
2024-08-28 13:05:39 +02:00
2024-09-16 08:54:30 +02:00
2024-09-24 15:29:42 -07:00
2024-09-16 11:15:26 +02:00
2024-09-24 15:29:42 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 18:29:19 +02:00
2024-09-27 08:18:43 -07:00
2024-05-02 16:28:20 +02:00
2024-09-16 08:35:09 +02:00