[PATCH net 0/2] mlxsw: spectrum_acl_bloom_filter: Fix compilation warning on s390x

From: WangYuli
Date: Tue Mar 11 2025 - 10:15:31 EST


Solely when using clang to compile the mlxsw driver for the s390
architecture does this rather perplexing __write_overflow_field warning
manifest.

The seemingly underlying cause points to a possible anomaly within the
LLVM toolchain targeting this architecture.

Nevertheless, the kernel, being a software endeavor predicated on
robustness, should not normally countenance build failures stemming from
toolchain and compilation setups that are implicitly project-approved.

Implementing the workaround, as elucidated in PATCH 1/2, remediates the
issue.

WangYuli (2):
mlxsw: spectrum_acl_bloom_filter: Expand
chunk_key_offsets[chunk_index]
mlxsw: spectrum_acl_bloom_filter: Type block_count to u32

.../mlxsw/spectrum_acl_bloom_filter.c | 42 ++++++++++++-------
1 file changed, 27 insertions(+), 15 deletions(-)

--
2.47.2