diff options
author | ShengYi Hung <aokblast@FreeBSD.org> | 2025-09-15 13:57:30 -0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2025-10-05 09:46:06 +0300 |
commit | 1c0f5142d921525f1023152eac63d2ff3d33e3b2 (patch) | |
tree | 774f6ff8918bb1819b8f81e8c6f88bf22a56c2fb /scripts/lib/kdoc/kdoc_output.py | |
parent | 383c7224839cf3acd8f1a609ad394daf7cfc8b6d (diff) | |
download | qemu-1c0f5142d921525f1023152eac63d2ff3d33e3b2.zip qemu-1c0f5142d921525f1023152eac63d2ff3d33e3b2.tar.gz qemu-1c0f5142d921525f1023152eac63d2ff3d33e3b2.tar.bz2 |
hid: fix incorrect return value for hid
The return value of hid_keyboard_write is used to set the packet's actual_length
and pass to xhci directly to allow guest know how many byte actually processed.
Therefore, return 1 to indicate a successful transfer or it will be
considered as a wrong xfer.
Signed-off-by: ShengYi Hung <aokblast@FreeBSD.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions