Re: [EXTERNAL] [PATCH] hv: utils: handle and propagate errors in kvp_register

From: Wei Liu

Date: Wed Apr 29 2026 - 18:16:00 EST


On Tue, Apr 14, 2026 at 05:48:04PM +0000, Long Li wrote:
> > Make kvp_register() return an error code instead of silently ignoring failures, and
> > propagate the error from kvp_handle_handshake() instead of returning success.
> >
> > This propagates both kzalloc_obj() and hvutil_transport_send() failures to
> > kvp_handle_handshake() and thus to kvp_on_msg().
> >
> > Fixes: 245ba56a52a3 ("Staging: hv: Implement key/value pair (KVP)")
> > Cc: stable@xxxxxxxxxxxxxxx
> > Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
>
> Reviewed-by: Long Li <longli@xxxxxxxxxxxxx>

Applied to hyperv-fixes, thanks!