aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorPeng Hao <[email protected]>2024-07-10 17:16:57 +0800
committerLeon Romanovsky <[email protected]>2024-07-11 13:25:11 +0300
commitb851268018f0d63cb2069b5589bf4dbee1c74287 (patch)
treea8f5498fcdbc3c3a6f16040a55db99f6b9cc2082 /lib/memory-notifier-error-inject.c
parentaf48f95492dc1af36d9636a750ec492035c0ed7d (diff)
RDMA/ocrdma: Don't inline statistics functions
Fix the problem of KASAN causing the stack frame size to increase 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. Signed-off-by: Peng Hao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions