Re: [PATCH v2] infiniband/hw/ocrdma: fix the problem of KASAN causing the stack frame size to increase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux