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

Andrew Lunn
2023-10-28T18:18:47Z

> But yes, it makes a difference in the output it generates (if we are
> talking about the pointed-to), e.g.
>
> void f(struct S *); // *mut S
> void f(const struct S *); // *const S
>
> Being const-correct would be a good change for C in any case.

I have a patchset which changes a few functions to use const struct
*phydev. I will post them next cycle. They are a bit invasive, so i
don't want to do it now, this close to the merge window.

Andrew