Patch "remoteproc: st: Fix error return code in st_rproc_probe()" has been added to the 4.9-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
remoteproc: st: Fix error return code in st_rproc_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:
remoteproc-st-fix-error-return-code-in-st_rproc_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
1d701d3dd8caf6660ff33c3c23a115b4649c5cdbMon Sep 17 00:00:00 2001
From: Wei Yongjun <[email protected]>
Date: Mon, 17 Oct 2016 16:23:35 +0000
Subject: remoteproc: st: Fix error return code in st_rproc_probe()
From: Wei Yongjun <[email protected]>
commit 1d701d3dd8caf6660ff33c3c23a115b4649c5cdb upstream.
Fix to return a negative error code from the st_rproc_state() error handling case instead of 0, as done elsewhere in this function.
--- drivers/remoteproc/st_remoteproc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/remoteproc/st_remoteproc.c +3 -1
@@ -245,8 +245,10 @@ static int st_rproc_probe(struct platfor goto free_rproc; enabled =st_rproc_state (pdev); -if (enabled <0 ) +if (enabled <0 ) { + ret = enabled; goto free_rproc; + }if (enabled) {atomic_inc (&rproc->power);
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/nfs-fix-typo-in-parameter-description.patch queue-4.9/remoteproc-st-fix-error-return-code-in-st_rproc_probe.patch queue-4.9/iw_cxgb4-fix-error-return-code-in-c4iw_rdev_open.patch