[PATCH net-next v2 0/2] Clean up usage of ffi types
From: Tamir Duberstein
Date: Wed Jun 25 2025 - 08:26:10 EST
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@xxxxxxxxx>
---
Changes in v2:
- Use unqualified types.
- Remove Fixes tag.
- Link to v1: https://lore.kernel.org/r/20250611-correct-type-cast-v1-1-06c1cf970727@xxxxxxxxx
---
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@xxxxxxxxx>