diff options
| author | Abinash Singh <[email protected]> | 2025-07-05 16:00:55 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-07-15 15:11:49 +0000 |
| commit | 3df63fa8f2afd051848e37ef1b8299dee28d4f87 (patch) | |
| tree | c94a5d75ec4542bbcc8697340e4816e4173f3cca /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | dmaengine: nbpfaxi: Fix memory corruption in probe() (diff) | |
| download | kernel-3df63fa8f2afd051848e37ef1b8299dee28d4f87.tar.gz kernel-3df63fa8f2afd051848e37ef1b8299dee28d4f87.zip | |
dma: dw-edma: Fix build warning in dw_edma_pcie_probe()
The function dw_edma_pcie_probe() in dw-edma-pcie.c triggered a
frame size warning:
ld.lld:warning:
drivers/dma/dw-edma/dw-edma-pcie.c:162:0: stack frame size (1040) exceeds limit (1024) in function 'dw_edma_pcie_probe'
This patch reduces the stack usage by dynamically allocating the
`vsec_data` structure using kmalloc(), rather than placing it on
the stack. This eliminates the overflow warning and improves kernel
robustness.
Signed-off-by: Abinash Singh <[email protected]>
Acked-by: Manivannan Sadhasivam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
