Skip to content

bindings: rust: fix some compiler + clippy warnings

Erik Schilling linux-gpio 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20250102-lifetime-fix-ccdb8562a2de

Versions newest first

  1. v2 Latest3 patches 1 replyApplied
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Added missing SOBs
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3bindings: rust: libgpiod: make read_edge_events lifetimes more explicitbindings/rust/libgpiod/src/line_request.rs+2 -20 replies
2/3bindings: rust: libgpiod: turn standalone doc comment into normal commentbindings/rust/libgpiod/src/lib.rs+1 -10 replies
3/3bindings: rust: libpgiod: fix clippy::empty_line_after_doc_comments lintbindings/rust/libgpiod/src/event_buffer.rs+0 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchKent Gibson
1/3Co-authored-by
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH libgpiod v2 0/3] bindings: rust: fix some compiler + clippy warnings

Triggered by the discussion at:
https://lore.kernel.org/r/CAMRc=Me-QNmJ2L1K-gGzFtVZacsDiLsNUfh3QaWPdbVzyxUduA@mail.gmail.com/

I also found some clippy warnings that I fixed while having the editor open.

---
Changes in v2:
- Added missing SOBs
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Erik Schilling (3):
bindings: rust: libgpiod: make read_edge_events lifetimes more explicit
bindings: rust: libgpiod: turn standalone doc comment into normal comment
bindings: rust: libpgiod: fix clippy::empty_line_after_doc_comments lint

 bindings/rust/libgpiod/src/event_buffer.rs | 1 -
 bindings/rust/libgpiod/src/lib.rs          | 2 +-
 bindings/rust/libgpiod/src/line_request.rs | 4 ++--
 3 files changed, 3 insertions(+), 4 deletions(-)

---
base-commit: 38adbae195555fae2b9d9e2a37c9507af1114757
change-id: 20250102-lifetime-fix-ccdb8562a2de

Best regards,

Signature · 1 line
Erik Schilling <[email protected]>