summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api/media/cec/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-04-14 13:10:08 +0200
committerWei Liu <wei.liu@kernel.org>2026-04-29 21:13:58 +0000
commit3fcf923302a8f5c0dc3af3d2ca2657cb5fae4297 (patch)
tree30d40cdb6422351e69555bbdb8fe104b67692614 /Documentation/userspace-api/media/cec/git@git.tavy.me:linux.git
parent48fcc895403cc97aa6c776cb65e6aa11290c0b44 (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 'Documentation/userspace-api/media/cec/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions