[Bug 282790] hidraw(4) - Regression in documented behavior of HIDRAW_GET_REPORT.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Nov 2024 04:32:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282790

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f4f46a2eef3be6d19c65a4ca4ee70f365dd5be4f

commit f4f46a2eef3be6d19c65a4ca4ee70f365dd5be4f
Author:     Matthew Nygard Dodd <Matthew.Nygard.Dodd@gmail.com>
AuthorDate: 2024-11-18 04:25:10 +0000
Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2024-11-18 04:31:39 +0000

    hidraw(4): update hgd_actlen in HIDRAW_GET_REPORT ioctl

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

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

 sys/dev/hid/hidraw.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.