On 11/18/26 02:54, Bobby Eshleman wrote:
> Allow const transports to be passed too. The function only compares the
> pointer against vsk->transport, which is itself const, and never writes
> through it.
>
> No functional change.
Which made me wonder: why stop here? Constify all 'static struct
vsock_transport *_transport'. I see no reason why all these transport
callbacks are writable.
I'm happy to post a patch, just making sure I haven't missed some good
reason why not to.
thanks,
Michal