Re: [PATCH] RDMA/siw: work around clang stack size warning
From: Leon Romanovsky
Date: Wed Jun 25 2025 - 07:15:42 EST
On Fri, 20 Jun 2025 13:43:28 +0200, Arnd Bergmann wrote:
> clang inlines a lot of functions into siw_qp_sq_process(), with the
> aggregate stack frame blowing the warning limit in some configurations:
>
> drivers/infiniband/sw/siw/siw_qp_tx.c:1014:5: error: stack frame size (1544) exceeds limit (1280) in 'siw_qp_sq_process' [-Werror,-Wframe-larger-than]
>
> The real problem here is the array of kvec structures in siw_tx_hdt that
> makes up the majority of the consumed stack space.
>
> [...]
Applied, thanks!
[1/1] RDMA/siw: work around clang stack size warning
https://git.kernel.org/rdma/rdma/c/842cf5a6e35656
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>