HomeFreeBSD

uhid(4): update ugd_actlen in USB_GET_REPORT ioctl

Description

uhid(4): update ugd_actlen in USB_GET_REPORT ioctl

USB_GET_REPORT ioctl is documented to update ugd_actlen on return with
the number of bytes copied. It does not do this.

Reviewed by: wulf
PR: 282790
MFC after: 1 week

(cherry picked from commit 0b5d86b38ae9aec92ef96b9227a404a2df3c9234)

Details

Provenance
Matthew.Nygard.Dodd_gmail.comAuthored on Nov 18 2024, 4:15 AM
wulfCommitted on Sun, Dec 22, 3:33 AM
Parents
rG0520d2ea9dd3: nanobsd: Remove dependency on bsdlabel
Branches
Unknown
Tags
Unknown