diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-04-14 13:10:08 +0200 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2026-04-29 21:13:58 +0000 |
| commit | 3fcf923302a8f5c0dc3af3d2ca2657cb5fae4297 (patch) | |
| tree | 30d40cdb6422351e69555bbdb8fe104b67692614 /drivers/clk/eswin/git@git.tavy.me:linux.git | |
| parent | 48fcc895403cc97aa6c776cb65e6aa11290c0b44 (diff) | |
hv: utils: handle and propagate errors in kvp_register
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@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/clk/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
