diff options
author | Nathan Chancellor <nathan@kernel.org> | 2025-08-12 11:02:11 -0700 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-08-12 14:14:54 -0400 |
commit | 2b96d222bb473039e79892a4f81ee758166b8fba (patch) | |
tree | c32391a6b4a95463d5187aaae7f54b85abf6559f /drivers/rtc/rtc-pcf8563.c | |
parent | 64e16fd8eddeb5b0eb09a2ca0f6535d3fb44064a (diff) |
bcachefs: Add statement to switch in check_bch_counter_ids_unique()for-next
Clang warns (or errors with CONFIG_WERROR=y):
fs/bcachefs/sb-counters_format.h:132:2: error: label at end of compound statement is a C23 extension [-Werror,-Wc23-extensions]
132 | }
| ^
In older versions of clang, this is an unconditional hard error:
fs/bcachefs/sb-counters_format.h:130:34: error: label at end of compound statement: expected statement
BCH_PERSISTENT_COUNTERS()
^
;
Add an empty statement to resolve the error/warning.
Fixes: 38de86383436 ("bcachefs: Switch statement evaluate ids and confirm they are unique going forward")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'drivers/rtc/rtc-pcf8563.c')
0 files changed, 0 insertions, 0 deletions