RE: [EXTERNAL] Re: [PATCH] hv_sock: Return the readable bytes in hvs_stream_has_data()

From: Dexuan Cui
Date: Tue Jul 01 2025 - 14:37:19 EST


> From: Paolo Abeni <pabeni@xxxxxxxxxx>
> Sent: Tuesday, July 1, 2025 6:05 AM
> ...
> > static s64 hvs_stream_has_data(struct vsock_sock *vsk)
> > {
> > struct hvsock *hvs = vsk->trans;
> > + bool need_refill = !hvs->recv_desc;
> > s64 ret;
>
> Minor nit: when reposting please respect the reverse christmas tree
> order above moving 'need_refill' initialization after the following 'if'
> statement.
>
> /P

Thanks! Will do.