Thread (108 messages) flat view 108 messages, 11 authors, 2023-11-22

Re: [PATCH net-next v7 1/5] rust: core abstractions for network PHY drivers

From: Benno Lossin <hidden>
Date: 2023-10-28 16:38:06
Also in: rust-for-linux

On 28.10.23 11:27, FUJITA Tomonori wrote:
On Fri, 27 Oct 2023 21:19:38 +0000
Benno Lossin [off-list ref] wrote:
quoted
I did not notice this before, but this means we cannot use the `link`
function from bindgen, since that takes `&self`. We would need a
function that takes `*const Self` instead.
Implementing functions to access to a bitfield looks tricky so we need
to add such feature to bindgen or we add getters to the C side?
Indeed, I just opened an issue [1] on the bindgen repo.

[1]: https://github.com/rust-lang/rust-bindgen/issues/2674

-- 
Cheers,
Benno
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help