Re: [PATCH] mlx5: avoid frame overflow warning

From: Leon Romanovsky

Date: Sun Jul 05 2026 - 10:01:28 EST



On Fri, 12 Jun 2026 22:15:59 +0200, Arnd Bergmann wrote:
> Building mlx5 on s390 shows a rather high stack usage that can exceed
> the warning limit when that is set to a lower but still reasonable value:
>
> drivers/infiniband/hw/mlx5/wr.c:1051:5: error: stack frame size (1328) exceeds limit (1280) in 'mlx5_ib_post_send' [-Werror,-Wframe-larger-than]
>
> The problem here is 'struct ib_reg_wr' on the stack of
> handle_reg_mr_integrity(), which gets inlined into mlx5_ib_post_send()
> along with a number of smaller functions.
>
> [...]

Applied, thanks!

[1/1] mlx5: avoid frame overflow warning
https://git.kernel.org/rdma/rdma/c/f5ad2ead846e3a

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>