Skip to contentSkip to conversation

Patch "dmaengine: fsl-edma: Add error handling for devm_kasprintf" has been added to the 6.18-stable tree

PATCH [email protected] 1 participant 1 message Aug 25

Subsystems (3)
lore
Share & tools
lore

[email protected]

author Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

dmaengine: fsl-edma: Add error handling for devm_kasprintf

to the 6.18-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
dmaengine-fsl-edma-add-error-handling-for-devm_kasprintf.patch
and it can be found in the queue-6.18 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

From bf1af4dfdc017dfe989c0dbcf0e608dc95f1d2cb Mon Sep 17 00:00:00 2001
From: Griffin Kroah-Hartman <[email protected]>
Date: Mon, 6 Jul 2026 16:57:06 +0200
Subject: dmaengine: fsl-edma: Add error handling for devm_kasprintf

From: Griffin Kroah-Hartman <[email protected]>

commit bf1af4dfdc017dfe989c0dbcf0e608dc95f1d2cb upstream.

Add error handling statement to fls_edma3_irq_init() for the devm_kasprintf call.

---
 drivers/dma/fsl-edma-main.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/dma/fsl-edma-main.c +2 -0
@@ -414,6 +414,8 @@ static int fsl_edma3_irq_init(struct pla
 
 		errirq_name = devm_kasprintf(&pdev->dev, GFP_KERNEL, "%s-err",
 					     dev_name(&pdev->dev));
+		if (!errirq_name)
+			return -ENOMEM;
 
 		ret = devm_request_irq(&pdev->dev, fsl_edma->errirq, fsl_edma3_err_handler_shared,
 				       0, errirq_name, fsl_edma);

Patches currently in stable-queue which might be from [email protected] are

queue-6.18/mailbox-mchp-ipc-sbi-add-null-check-for-devm_kasprintf.patch queue-6.18/rndis_host-add-overflow-check-in-rndis_rx_fixup.patch queue-6.18/dmaengine-fsl-edma-add-error-handling-for-devm_kasprintf.patch