Skip to content

rust: serdev: trivial fixes

Markus Probst linux-serial lkml rust-for-linux sashiko-reviews 2 versions In review

Get series with b4
b4 am [email protected] change-id 20260717-rust_serdev_fixes-9baf5f310278

Versions newest first

  1. v2 Latest4 patches 7 repliesIn review
  2. v14 patches 1 replySuperseded

Changes in v2 from the cover letter

- resolve Sashiko issues:
- reword small parts of the PrivateData::active documentation
- fix documentation references left to serdev::Timeout.
- Link to v1: https://patch.msgid.link/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rust: serdev: fix typo in rustdocrust/kernel/serdev.rs+1 -10 replies
2/4rust: serdev: mark small functions as `#[inline]`rust/kernel/serdev.rs+8 -01 reply
3/4rust: serdev: document `PrivateData::active`rust/kernel/serdev.rs+17 -00 replies
4/4rust: serdev: remove `serdev::Timeout`rust/kernel/serdev.rs+18 -374 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] rust: serdev: trivial fixes

Those are small fixes discovered by the kernel test robot and Gary Guo after the serdev rust abstraction have already been merged.

This includes
- a fix for a documentation typo
- adding missing #[inline] attributes
- a small structual change for timeout

There is no urgency to merge this.

---
Changes in v2:
- resolve Sashiko issues:
- reword small parts of the PrivateData::active documentation
- fix documentation references left to serdev::Timeout.
- Link to v1: https://patch.msgid.link/[email protected]

---
Markus Probst (4):
rust: serdev: fix typo in rustdoc
rust: serdev: mark small functions as #[inline]
rust: serdev: document PrivateData::active
rust: serdev: remove serdev::Timeout

 rust/kernel/serdev.rs | 82 +++++++++++++++++++++++++++------------------------
 1 file changed, 44 insertions(+), 38 deletions(-)

---
base-commit: 25acf039a5dbb40b6865d9392e05be8e713a39f3
change-id: 20260717-rust_serdev_fixes-9baf5f310278