Patch "rpmsg: qcom_smd: Correct return value for O_NONBLOCK" has been added to the 4.9-stable tree
This is a note to let you know that I've just added the patch titled
rpmsg: qcom_smd: Correct return value for O_NONBLOCK
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:
rpmsg-qcom_smd-correct-return-value-for-o_nonblock.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
1d74e7ed5dc1903ac081574a9b6aa94e7ba4ad45Mon Sep 17 00:00:00 2001
From: Bjorn Andersson <[email protected]>
Date: Thu, 1 Dec 2016 16:59:55 -0800
Subject: rpmsg: qcom_smd: Correct return value for O_NONBLOCK
From: Bjorn Andersson <[email protected]>
commit 1d74e7ed5dc1903ac081574a9b6aa94e7ba4ad45 upstream.
qcom_smd_send() should return -EAGAIN for non-blocking channels with insufficient space, so that we can propagate this event to user space.
--- drivers/rpmsg/qcom_smd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rpmsg/qcom_smd.c +1 -1
@@ -739,7 +739,7 @@ static int __qcom_smd_send(struct qcom_swhile (qcom_smd_get_tx_avail (channel) < tlen) {if (!wait) { - ret = -ENOMEM ; + ret = -EAGAIN ; goto out; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/rpmsg-qcom_smd-correct-return-value-for-o_nonblock.patch