[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175259292621.543905.5838200154800264729.b4-ty@kernel.org>
Date: Tue, 15 Jul 2025 20:52:06 +0530
From: Vinod Koul <vkoul@...nel.org>
To: mani@...nel.org, Abinash Singh <abinashlalotra@...il.com>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
Abinash Singh <abinashsinghlalotra@...il.com>
Subject: Re: [PATCH RFC] dma: dw-edma: Fix build warning in
dw_edma_pcie_probe()
On Sat, 05 Jul 2025 21:30:55 +0530, Abinash Singh wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] dma: dw-edma: Fix build warning in dw_edma_pcie_probe()
commit: 3df63fa8f2afd051848e37ef1b8299dee28d4f87
Best regards,
--
~Vinod
Powered by blists - more mailing lists