rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] Clean up usage of ffi types
@ 2025-06-25 12:25 Tamir Duberstein
  2025-06-25 12:25 ` [PATCH net-next v2 1/2] Use unqualified references to " Tamir Duberstein
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Tamir Duberstein @ 2025-06-25 12:25 UTC (permalink / raw)
  To: FUJITA Tomonori, Trevor Gross, Miguel Ojeda, Alex Gaynor,
	Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
	Andreas Hindborg, Alice Ryhl, Danilo Krummrich, David S. Miller,
	Andrew Lunn
  Cc: netdev, rust-for-linux, linux-kernel, Tamir Duberstein

Remove qualification of ffi types which are included in the prelude and
change `as` casts to target the proper ffi type alias rather than the
underlying primitive.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
---
Changes in v2:
- Use unqualified types.
- Remove Fixes tag.
- Link to v1: https://lore.kernel.org/r/20250611-correct-type-cast-v1-1-06c1cf970727@gmail.com

---
Tamir Duberstein (2):
      Use unqualified references to ffi types
      Cast to the proper type

 rust/kernel/net/phy.rs | 34 +++++++++++++---------------------
 1 file changed, 13 insertions(+), 21 deletions(-)
---
base-commit: 0303584766b7bdb6564c7e8f13e0b59b6ef44984
change-id: 20250611-correct-type-cast-1de8876ddfc1

Best regards,
--  
Tamir Duberstein <tamird@gmail.com>


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

end of thread, other threads:[~2025-07-01  7:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 12:25 [PATCH net-next v2 0/2] Clean up usage of ffi types Tamir Duberstein
2025-06-25 12:25 ` [PATCH net-next v2 1/2] Use unqualified references to " Tamir Duberstein
2025-06-28  2:34   ` FUJITA Tomonori
2025-06-25 12:25 ` [PATCH net-next v2 2/2] Cast to the proper type Tamir Duberstein
2025-06-30 13:18 ` [PATCH net-next v2 0/2] Clean up usage of ffi types Tamir Duberstein
2025-07-01  8:00 ` patchwork-bot+netdevbpf

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).