On Wed, 10 Jul 2024 17:16:57 +0800, flyingpenghao@xxxxxxxxx wrote: > drivers/infiniband/hw/ocrdma/ocrdma_stats.c:686:16: error: stack frame size (20664) exceeds limit (8192) in 'ocrdma_dbgfs_ops_read' [-Werror,-Wframe-larger-than] > static ssize_t ocrdma_dbgfs_ops_read(struct file *filp, char __user *buffer, > ^ > > Some functions called by ocrdma_dbgfs_ops_read occupy a lot of stack space. > Mark these functions as noinline_for_stack to prevent them from accumulating > in ocrdma_dbgfs_ops_read. > > [...] Applied, thanks! [1/1] infiniband/hw/ocrdma: fix the problem of KASAN causing the stack frame size to increase https://git.kernel.org/rdma/rdma/c/15581c659a366e Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>