mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: mani@kernel.org, Abinash Singh <abinashlalotra@gmail.com>
Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Abinash Singh <abinashsinghlalotra@gmail.com>
Subject: Re: [PATCH RFC] dma: dw-edma: Fix build warning in dw_edma_pcie_probe()
Date: Tue, 15 Jul 2025 20:52:06 +0530	[thread overview]
Message-ID: <175259292621.543905.5838200154800264729.b4-ty@kernel.org> (raw)
In-Reply-To: <20250705160055.808165-1-abinashsinghlalotra@gmail.com>


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



      parent reply	other threads:[~2025-07-15 15:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-05 16:00 Abinash Singh
2025-07-09 11:17 ` Manivannan Sadhasivam
2025-07-15 15:22 ` Vinod Koul [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=175259292621.543905.5838200154800264729.b4-ty@kernel.org \
    --to=vkoul@kernel.org \
    --cc=abinashlalotra@gmail.com \
    --cc=abinashsinghlalotra@gmail.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mani@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®