Skip to contentSkip to conversation

Patch "soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 23, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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

soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()

to the 4.9-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:
soc-ti-wkup_m3_ipc-fix-error-return-code-in-wkup_m3_ipc_probe.patch
and it can be found in the queue-4.9 subdirectory.

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

Quoted 1 line

From 36b29eb30ee0f6c99f06bea406c23a3fd4cbb80b Mon Sep 17 00:00:00 2001

From: Wei Yongjun <[email protected]>
Date: Thu, 12 Jan 2017 14:53:41 +0000
Subject: soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()

From: Wei Yongjun <[email protected]>

commit 36b29eb30ee0f6c99f06bea406c23a3fd4cbb80b upstream.

Fix to return a negative error code from the kthread_run() error handling case instead of 0, as done elsewhere in this function.

Fixes cdd5de500b2c ("soc: ti: Add wkup_m3_ipc driver")
---
 drivers/soc/ti/wkup_m3_ipc.c |    1 +
 1 file changed, 1 insertion(+)
drivers/soc/ti/wkup_m3_ipc.c +1 -0
@@ -459,6 +459,7 @@ static int wkup_m3_ipc_probe(struct plat
 
 	if (IS_ERR(task)) {
 		dev_err(dev, "can't create rproc_boot thread\n");
+		ret = PTR_ERR(task);
 		goto err_put_rproc;
 	}
 

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

queue-4.9/soc-ti-wkup_m3_ipc-fix-error-return-code-in-wkup_m3_ipc_probe.patch queue-4.9/gs1662-drop-kfree-for-memory-allocated-with-devm_kzalloc.patch