Thread (9 messages) 9 messages, 3 authors, 2026-09-05

[PATCH v2 0/2] rust: serdev: Mitigate race conditions

flat view
COLD38d

From: Markus Probst <markus.probst@posteo.de>
Date: 2026-09-05 13:30:21
Also in: driver-core, lkml, rust-for-linux

For details, see the commit messages.

I will submit a patch (for the next merge cycle) soon, which will
make the probe and unbind code less convoluted. This will make bugs like
these more unlikely.

Signed-off-by: Markus Probst <markus.probst@posteo.de>
---
Changes in v2:
- also fix race condition on unbind
- Link to v1: https://patch.msgid.link/20260905-rust_serdev_fix-v1-1-2ea92b154a6b@posteo.de (local)

---
Markus Probst (2):
      rust: serdev: Fix race condition on driver unbind
      rust: serdev: Fix race condition on driver probe

 rust/kernel/device.rs | 16 +++++++++-------
 rust/kernel/driver.rs |  2 +-
 rust/kernel/serdev.rs |  2 +-
 3 files changed, 11 insertions(+), 9 deletions(-)
---
base-commit: e5e04726cdd043e309677071ab1b65a4b18f422b
change-id: 20260904-rust_serdev_fix-be3ff9c8a5e8
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help