From nobody Mon Apr 24 11:20:20 2023 X-Original-To: dev-commits-src-all@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 4Q4jNN3n8Qz46h91; Mon, 24 Apr 2023 11:20:20 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q4jNN2jwXz49Cn; Mon, 24 Apr 2023 11:20:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682335220; 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; bh=VK1fjIxlsmv18QX4UE6foI+MxGKNRVBb3BFgCUSB9rE=; b=CyfBR4rO6KTpevuK+dpYya0ZcGYL+5qFL8w/vV4/SC/PYvVfxT3bBks5bLcsInr+63RtN5 4r8DvuzW+gcmPPcrhBWnNCBcIHZ9IXUn1c0HagRTN4hz8wyRVPKdRnoEru4el9ne3hCLKL 1bSMEYjMbJKnS+U4ttfuvIW29XceZBidlQgeApbtm1Iq4+O6ySjkuSA+9nrNgg5yrECnsi skFmMyBqpWkF7p6+dwT9RTL+Pkdo8pNpJcUChYgpX+qA7JA6ekxurs9xEA6U7qNj2XAaUk XlMJ3Ahy3eF91lUiiOBvMvL9bywo407rLhRKsNlMvx2O63jcYw3ZO7R0Cs6cYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682335220; 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; bh=VK1fjIxlsmv18QX4UE6foI+MxGKNRVBb3BFgCUSB9rE=; b=ln+Yu2Y3aE4RJHirUyK07WbxXS8gswRoxxiS2vEJdO6nK+8Bk+Jtz+T5pvxkYFPgUir4st 1+SexuatOzgA57ATaK5kOzwfswYLAomdk8YQld6EZN9CZvhx9zb6OcmSKm5KRZrEtALmOX 8RO38iPgkdA6EjswfUOcuMMp9hbA/eZGnt/FwPdOUPuB4Z0iq8u9T9KcqIzKFcG8C5Fwod Ab62jrJFQFv1azfNtsd6hpUimQqfCsNqW9ZpkE7NTulWgNVtUhH/JNzTVFLTrJMdLwKFvS R2ckNPsBF9Kau0kAMYmtLRpvC2SOEuzbO1gR20VYtIk3aeKvayjaYzIYqbLbYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682335220; a=rsa-sha256; cv=none; b=Q7DtaEgr2ziQwNj8aBzhrWvsKvTTbnEb8OWL6+WyJEfmM2AerP26/W9ERbBS7/uVuFGvFb 30SJAclQwSiPKh3RJOpvLXoglyj+emYP9htyYxZ/h1Nt52F6mGhadXJYuk5swdOK/c7n9i qhn5nz0HbrQXzeLEAT7X2Di/mdyEHF93lVc+JmGEU0etfoP2fGcnEgX7WpzkXRkuYnq17I puFL6iG8iGLbk0YI8JLRZt8Sn32RVjXEzyBcDK3fR7YmjJSjuTZqsEYDsCQyqiNM3lDG18 mbGnL0ZwfQEFL302LvmWPH6GSvzynOP1lzfG3aAJEqhbCUQ6KgJgP26FB/1Ajw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4Q4jNN1XDHzNL2; Mon, 24 Apr 2023 11:20:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33OBKK5o048253; Mon, 24 Apr 2023 11:20:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33OBKKqb048252; Mon, 24 Apr 2023 11:20:20 GMT (envelope-from git) Date: Mon, 24 Apr 2023 11:20:20 GMT Message-Id: <202304241120.33OBKKqb048252@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: 6ed3b9ca25ba - main - hid: fix typo in hid_is_collection List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ed3b9ca25ba71e2420555dce015dc80192a2b4e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=6ed3b9ca25ba71e2420555dce015dc80192a2b4e commit 6ed3b9ca25ba71e2420555dce015dc80192a2b4e Author: Hu Shunchao AuthorDate: 2023-04-24 11:17:51 +0000 Commit: Vladimir Kondratyev CommitDate: 2023-04-24 11:17:51 +0000 hid: fix typo in hid_is_collection hid_input is equal to 0. It is leftover from NetBSD code. Reviewed by: hselasky, wulf MFC after: 1 month Differential revision: https://reviews.freebsd.org/D28149 --- sys/dev/hid/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/hid/hid.c b/sys/dev/hid/hid.c index 0ed663f99f88..9736498cc3c0 100644 --- a/sys/dev/hid/hid.c +++ b/sys/dev/hid/hid.c @@ -799,7 +799,7 @@ hid_is_collection(const void *desc, hid_size_t size, int32_t usage) struct hid_item hi; int err; - hd = hid_start_parse(desc, size, hid_input); + hd = hid_start_parse(desc, size, 0); if (hd == NULL) return (0);