Patch "Input: ims-pcu - fix calling interruptible mutex" has been added to the 6.11-stable tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
Input: ims-pcu - fix calling interruptible mutex
to the 6.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
Quoted 7 lines
The filename of the patch is:
input-ims-pcu-fix-calling-interruptible-mutex.patch
and it can be found in the queue-6.11 subdirectory.If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Did you manage to pick up 703f12672e1f ("Input: ims-pcu - switch to using cleanup functions") for stable? I would love to see the justification for that...
Quoted 34 lines
commit
c137195362a652adfbc6a538b78a40b043de6eb0Author: David Lechner <[email protected]> Date: Tue Sep 10 16:58:47 2024 -0500Input: ims-pcu - fix calling interruptible mutex
[ Upstream commit
82abef590eb31d373e632743262ee7c42f49c289]Fix calling
scoped_cond_guard()with mutex instead ofmutex_intr.
scoped_cond_guard(mutex, ...)will callmutex_lock()instead ofmutex_lock_interruptible().Fixes 703f12672e1f ("Input: ims-pcu - switch to using cleanup functions")Signed-off-by David Lechner <[email protected]>Link https://lore.kernel.org/r/20240910-input-misc-ims-pcu-fix-mutex-intr-v1-1-bdd983685c43@baylibre.com open hereSigned-off-by Dmitry Torokhov <[email protected]>Signed-off-by Sasha Levin <[email protected]>drivers/input/misc/ims-pcu.c +1
-1@@ -1067,7 +1067,7 @@ static ssize_t ims_pcu_attribute_store(struct device *dev,if (data_len > attr->field_length)return -EINVAL ; - scoped_cond_guard(mutex, return -EINTR, &pcu->cmd_mutex) { + scoped_cond_guard(mutex_intr, return -EINTR, &pcu->cmd_mutex) {memset (field,0 , attr->field_length);memcpy (field, buf, data_len);
Signature · 1 line
Dmitry
Greg KH
maintainerQuoted 12 lines · Dmitry Torokhov
Quoted 11 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
Input: ims-pcu - fix calling interruptible mutex
to the 6.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
input-ims-pcu-fix-calling-interruptible-mutex.patch
and it can be found in the queue-6.11 subdirectory.
Quoted 7 lines
Quoted 3 lines
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Did you manage to pick up
703f12672e1f("Input: ims-pcu - switch to using cleanup functions") for stable? I would love to see the justification for that...
It already is in the 6.11 kernel tree, so why would this fix, which says:
Quoted 6 lines
Quoted 6 lines
commit
c137195362a652adfbc6a538b78a40b043de6eb0Author: David Lechner <[email protected]> Date: Tue Sep 10 16:58:47 2024 -0500Input: ims-pcu - fix calling interruptible mutex
Quoted 8 lines
Quoted 8 lines
[ Upstream commit
82abef590eb31d373e632743262ee7c42f49c289]Fix calling
scoped_cond_guard()with mutex instead ofmutex_intr.
scoped_cond_guard(mutex, ...)will callmutex_lock()instead ofmutex_lock_interruptible().Fixes 703f12672e1f ("Input: ims-pcu - switch to using cleanup functions")
This is a bugfix for the 6.11 tree, not be applicable to the 6.11.y releases?
thanks,
greg k-h
Quoted 34 lines · Greg KH
Quoted 12 lines · Dmitry Torokhov
Quoted 11 lines · Sasha Levin
This is a note to let you know that I've just added the patch titled
Input: ims-pcu - fix calling interruptible mutex
to the 6.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summaryThe filename of the patch is:
input-ims-pcu-fix-calling-interruptible-mutex.patch
and it can be found in the queue-6.11 subdirectory.Quoted 7 lines
Quoted 3 lines
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Did you manage to pick up
703f12672e1f("Input: ims-pcu - switch to using cleanup functions") for stable? I would love to see the justification for that...It already is in the 6.11 kernel tree, so why would this fix, which says:
Quoted 10 lines
Quoted 10 lines
commit
c137195362a652adfbc6a538b78a40b043de6eb0Author: David Lechner <[email protected]> Date: Tue Sep 10 16:58:47 2024 -0500Input: ims-pcu - fix calling interruptible mutex
[ Upstream commit
82abef590eb31d373e632743262ee7c42f49c289]Fix calling
scoped_cond_guard()with mutex instead ofmutex_intr.
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
scoped_cond_guard(mutex, ...)will callmutex_lock()instead ofmutex_lock_interruptible().Fixes 703f12672e1f ("Input: ims-pcu - switch to using cleanup functions")This is a bugfix for the 6.11 tree, not be applicable to the 6.11.y releases?
Oh, my bad, I did not realize 703f12672e1f made into 6.11. Sorry about this.
Signature · 1 line
Dmitry