linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libgpiod 0/2] bindings: rust: mark raw constructors as unsafe + rename to `from_raw`
@ 2025-07-21  7:41 Erik Wierich
  2025-07-21  7:41 ` [PATCH libgpiod 1/2] bindings: rust: mark constructors that take raw pointers unsafe Erik Wierich
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Erik Wierich @ 2025-07-21  7:41 UTC (permalink / raw)
  To: Linux-GPIO, Bartosz Golaszewski, Viresh Kumar; +Cc: Erik Wierich

This is based on top of:
https://lore.kernel.org/linux-gpio/20250720-new-with-settings-crate-v1-1-a51392bd5b13@linaro.org/

Signed-off-by: Erik Wierich <erik@riscstar.com>
---
Erik Wierich (2):
      bindings: rust: mark constructors that take raw pointers unsafe
      bindings: rust: rename constructors that wrap raw objects to `from_raw`

 bindings/rust/libgpiod/src/chip.rs          | 10 ++++++++--
 bindings/rust/libgpiod/src/info_event.rs    |  7 ++++++-
 bindings/rust/libgpiod/src/line_config.rs   |  7 ++++++-
 bindings/rust/libgpiod/src/line_request.rs  |  7 ++++++-
 bindings/rust/libgpiod/src/line_settings.rs | 10 +++++++++-
 5 files changed, 35 insertions(+), 6 deletions(-)
---
base-commit: ec1a9986dce755a96780e1c9c3a3b1b0227061bc
change-id: 20250721-rust-unsafe-consistency-be78ed4f98a9

Best regards,
-- 
Erik Wierich <erik@riscstar.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-21 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-21  7:41 [PATCH libgpiod 0/2] bindings: rust: mark raw constructors as unsafe + rename to `from_raw` Erik Wierich
2025-07-21  7:41 ` [PATCH libgpiod 1/2] bindings: rust: mark constructors that take raw pointers unsafe Erik Wierich
2025-07-21  7:41 ` [PATCH libgpiod 2/2] bindings: rust: rename constructors that wrap raw objects to `from_raw` Erik Wierich
2025-07-21  7:48 ` [PATCH libgpiod 0/2] bindings: rust: mark raw constructors as unsafe + rename " Viresh Kumar
2025-07-21 13:20 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).