Rust for Linux List
 help / color / mirror / Atom feed
* [PATCH 0/2] rust: drm: ioctl: make DRM ioctls easier to understand
@ 2026-11-30 10:17 Alice Ryhl
  2026-11-30 10:17 ` [PATCH 1/2] rust: drm: ioctl: return Result<i32> from ioctl handlers Alice Ryhl
  2026-11-30 10:17 ` [PATCH 2/2] rust: drm: ioctl: document declare_drm_ioctls! arguments and assertions Alice Ryhl
  0 siblings, 2 replies; 12+ messages in thread
From: Alice Ryhl @ 2026-11-30 10:17 UTC (permalink / raw)
  To: Danilo Krummrich
  Cc: Daniel Almeida, Miguel Ojeda, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg,
	Trevor Gross, Tamir Duberstein, Alexandre Courbot,
	Onur Özkan, nova-gpu, dri-devel, linux-kernel,
	rust-for-linux, Alice Ryhl

Two small improvements to `declare_drm_ioctls!` motivated by questions
and feedback from teaching my Rust for Linux course.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
Alice Ryhl (2):
      rust: drm: ioctl: return Result<i32> from ioctl handlers
      rust: drm: ioctl: document declare_drm_ioctls! arguments and assertions

 drivers/gpu/drm/nova/file.rs |  6 ++---
 drivers/gpu/drm/tyr/file.rs  |  2 +-
 rust/kernel/drm/ioctl.rs     | 57 ++++++++++++++++++++++++++++++++++----------
 3 files changed, 48 insertions(+), 17 deletions(-)
---
base-commit: abfb640b2374e26de8ff81d488c39d8254db538e
change-id: 20261127-drm-ioctl-return-i32-47887b37769f

Best regards,
-- 
Alice Ryhl <aliceryhl@google.com>


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

end of thread, other threads:[~2026-11-30 16:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 10:17 [PATCH 0/2] rust: drm: ioctl: make DRM ioctls easier to understand Alice Ryhl
2026-11-30 10:17 ` [PATCH 1/2] rust: drm: ioctl: return Result<i32> from ioctl handlers Alice Ryhl
2026-11-30 11:43   ` Janne Grunau
2026-11-30 12:33     ` Alice Ryhl
2026-11-30 11:48   ` Miguel Ojeda
2026-11-30 12:32     ` Alice Ryhl
2026-11-30 14:19       ` Janne Grunau
2026-11-30 15:35         ` Gary Guo
2026-11-30 16:04           ` Danilo Krummrich
2026-11-30 13:15     ` Gary Guo
2026-11-30 10:17 ` [PATCH 2/2] rust: drm: ioctl: document declare_drm_ioctls! arguments and assertions Alice Ryhl
2026-11-30 11:45   ` Janne Grunau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox