Patch "mei: return error on notification request to a disconnected client" 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
mei: return error on notification request to a disconnected client
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:
mei-return-error-on-notification-request-to-a-disconnected-client.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 foo@baz Mon Nov 6 10:07:35 CET 2017
From: Alexander Usyskin <[email protected]>
Date: Sat, 7 Oct 2017 22:36:56 +0000
Subject: mei: return error on notification request to a disconnected client
From: Alexander Usyskin <[email protected]>
[ Upstream commit 7c47d2ca0feca767479329da23523ed798acb854 ]
Request for a notification from a disconnected client will be ignored silently by the FW but the caller should know that the operation hasn't succeeded.
--- drivers/misc/mei/client.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/misc/mei/client.c +3 -0
@@ -1320,6 +1320,9 @@ int mei_cl_notify_request(struct mei_clreturn -EOPNOTSUPP ; } +if (!mei_cl_is_connected (cl)) +return -ENODEV ; + rets =pm_runtime_get (dev->dev);if (rets <0 && rets != -EINPROGRESS ) {pm_runtime_put_noidle (dev->dev);
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/mei-return-error-on-notification-request-to-a-disconnected-client.patch