public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] mlxsw: spectrum_acl_bloom_filter: Fix compilation warning on s390x
@ 2025-03-11 14:10 WangYuli
  2025-03-11 14:17 ` [PATCH net 1/2] mlxsw: spectrum_acl_bloom_filter: Expand chunk_key_offsets[chunk_index] WangYuli
  2025-03-11 14:17 ` [PATCH net 2/2] mlxsw: spectrum_acl_bloom_filter: Type block_count to u32 WangYuli
  0 siblings, 2 replies; 11+ messages in thread
From: WangYuli @ 2025-03-11 14:10 UTC (permalink / raw)
  To: idosch, petrm, andrew+netdev, davem, edumazet, kuba, pabeni
  Cc: netdev, linux-kernel, czj2441, zhanjun, niecheng1, guanwentao,
	chenlinxuan, WangYuli

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-03-14 18:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11 14:10 [PATCH net 0/2] mlxsw: spectrum_acl_bloom_filter: Fix compilation warning on s390x WangYuli
2025-03-11 14:17 ` [PATCH net 1/2] mlxsw: spectrum_acl_bloom_filter: Expand chunk_key_offsets[chunk_index] WangYuli
2025-03-12 13:20   ` Ido Schimmel
2025-03-13  8:52     ` WangYuli
2025-03-13 13:52     ` Paolo Abeni
2025-03-13 15:25       ` Ido Schimmel
2025-03-13 16:10         ` WangYuli
2025-03-13 19:41           ` Ido Schimmel
2025-03-14 18:10             ` WangYuli
2025-03-13 13:54   ` Paolo Abeni
2025-03-11 14:17 ` [PATCH net 2/2] mlxsw: spectrum_acl_bloom_filter: Type block_count to u32 WangYuli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox