mbox series

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

Message ID 484364B641C901CD+20250311141025.1624528-1-wangyuli@uniontech.com (mailing list archive)
Headers show
Series mlxsw: spectrum_acl_bloom_filter: Fix compilation warning on s390x | expand

Message

WangYuli March 11, 2025, 2:10 p.m. UTC
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(-)