Abinash Singh
3df63fa8f2
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⚠️
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 <abinashsinghlalotra@gmail.com>
Acked-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://lore.kernel.org/r/20250705160055.808165-1-abinashsinghlalotra@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2025-07-15 20:41:49 +05:30
..
2025-06-05 08:49:30 -07:00
2024-10-14 23:50:34 +05:30
2025-02-10 16:29:11 +05:30
2024-10-14 23:50:34 +05:30
2025-07-15 20:41:49 +05:30
2024-09-02 13:56:01 +05:30
2025-06-05 08:49:30 -07:00
2025-06-08 09:07:37 +02:00
2024-09-02 13:56:01 +05:30
2025-06-26 15:09:20 -07:00
2024-10-14 23:50:34 +05:30
2025-02-27 13:29:15 +05:30
2024-10-21 23:07:08 +05:30
2025-05-14 15:30:40 +01:00
2024-10-21 22:51:45 +05:30
2025-06-05 08:49:30 -07:00
2025-05-14 14:50:07 +01:00
2024-10-14 23:27:57 +05:30
2024-10-14 23:50:34 +05:30
2024-09-02 13:56:01 +05:30
2024-12-04 17:42:27 +05:30
2025-04-17 20:47:39 +05:30
2024-10-14 23:50:34 +05:30
2025-04-17 20:38:10 +05:30
2025-02-27 12:37:14 +05:30
2024-10-14 23:50:34 +05:30
2024-06-21 15:31:57 +05:30
2024-10-14 23:50:34 +05:30
2025-02-10 16:28:53 +05:30
2025-04-17 15:06:02 +05:30
2024-11-27 13:25:47 -08:00
2024-10-14 23:50:34 +05:30
2025-04-23 18:42:46 +05:30
2025-04-23 18:42:46 +05:30
2025-06-05 08:49:30 -07:00
2024-05-04 18:00:16 +05:30
2024-05-04 18:00:16 +05:30
2024-10-14 23:50:34 +05:30
2025-05-14 15:25:15 +01:00
2025-05-14 15:25:15 +01:00
2024-09-02 13:56:01 +05:30
2024-10-14 23:50:34 +05:30
2025-02-27 12:34:57 +05:30
2025-06-08 09:07:37 +02:00
2025-02-10 16:28:53 +05:30
2024-10-14 23:50:34 +05:30
2025-04-23 18:42:46 +05:30
2024-09-02 13:56:32 +05:30
2024-12-02 22:48:57 +05:30
2024-08-29 22:54:11 +05:30
2025-04-17 20:47:39 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-21 23:07:08 +05:30
2024-12-24 15:45:50 +05:30
2024-09-02 13:56:01 +05:30
2025-07-15 20:40:18 +05:30
2024-09-02 13:56:01 +05:30
2024-10-14 23:50:34 +05:30
2024-04-07 18:36:58 +05:30
2024-08-29 07:22:49 +03:00
2025-02-10 19:57:11 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-09-02 13:56:01 +05:30
2024-08-29 07:22:49 +03:00
2024-09-02 13:56:01 +05:30
2024-12-11 17:35:03 +05:30
2025-02-10 19:57:11 +05:30
2024-10-14 23:50:34 +05:30
2024-12-24 15:49:30 +05:30
2025-05-14 14:47:22 +01:00
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-10-14 23:50:34 +05:30
2024-06-28 13:03:13 +05:30
2024-04-07 17:08:19 +05:30
2024-10-14 23:50:34 +05:30