From nobody Mon Nov 18 04:32:54 2024 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XsF9L3DyQz5dqFK for ; Mon, 18 Nov 2024 04:32:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XsF9K6cgDz4lls for ; Mon, 18 Nov 2024 04:32:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731904373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ntJOeh2tuAWqIqMVbnryUkwu4bB3hmEnsZZWuiyAPTk=; b=k+OyLumu9JgrVqwiBp6isOl7xifiD/x1yl0moaO/OFam0fFFCWVTFCB+oGup/TeJdrl7rS 7wN5Sct/U1zkBzTgCc9rNAyQmY8xdFy8ybx9X8SP42WikfAcopaJ/XiSgxVqKJJTl4F6m5 Z7nsPicI8If3A8aP7CuZa5rJe1fTl1WLTKY4rfrfnXcmDAs2wA+cei5jsVVBT2mttINlov O8Ck9IPi2msfF5Q/yUAPoLuBs/GpeYwxf3RZQIpMxauTe+YON5dLW331cpSFOW/IUI87BZ ins+EQDJAUn9z4WRtjNT6mMnHB+Mwtq8ybEPSudz7idArj19/PVAbzAsgCmKLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731904373; a=rsa-sha256; cv=none; b=c08DXsHaIl0Ag0tluEKcmtwFKtoQiIKT97WKa4EAigwHf9jlQLgkqpqGhQ7Yu0uW/6faWi +owxuaJEbr6WBh3oRbPAPFYS8Kxet8zwLItLXmqJJ4UqZCC6EPBvP6ay4Liu73dFyv/qSz SYqoZBuNmYq3OYmYUbIUnYvDsCbxHvs++60nzD/I6dK/AwfXz2jzvAlEdPnv7chDZSHejH D1JujhktA4S7pTbTaRsODgcLwfC5QMNMG2kMu1gJvHxzSajJ66cVzaWRGjbGv3O1L3Nz4b Ooew3yt86Y4/58/yj9mThhQ3DJg6DeTb5l209g0GOrKbACE91RyQkJwZ9I1i/w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XsF9K6C5qzMCM for ; Mon, 18 Nov 2024 04:32:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4AI4WrUO050614 for ; Mon, 18 Nov 2024 04:32:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AI4WrCi050613 for usb@FreeBSD.org; Mon, 18 Nov 2024 04:32:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 282790] hidraw(4) - Regression in documented behavior of HIDRAW_GET_REPORT. Date: Mon, 18 Nov 2024 04:32:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282790 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df4f46a2eef3be6d19c65a4ca4ee70f365= dd5be4f commit f4f46a2eef3be6d19c65a4ca4ee70f365dd5be4f Author: Matthew Nygard Dodd AuthorDate: 2024-11-18 04:25:10 +0000 Commit: Vladimir Kondratyev 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(-) --=20 You are receiving this mail because: You are the assignee for the bug.=