From nobody Tue Dec 27 01:19:57 2022 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 4Ngxf5585kz2NPcx; Tue, 27 Dec 2022 01:19:57 +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 4Ngxf548fWz4j5R; Tue, 27 Dec 2022 01:19:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672103997; 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=uBQkdEXlqeYOjKvOkXbT5s0nrDfkkJx+sBRxb8QG/2A=; b=WVoe8n7XMRU1wIN0mh2Rpt1HPqUx/1Kh1E4H1BH8AdUtPxIZ7/qVP5jPeu4EcUbPl4nTan qAnQzSDmq6Qp1OGkP8FkFB0OaB9marKdVqfGWPZWCUiRlkFcLjDsS3/yjB06TpeakN4IJq pek/yB7ETIra/XzwP/+8xXYPUsbmgiLb8DDPXndoywXTvkWM9btPhPNYpyxmWyYt1hJ/hS boK1naAU/Vtft5aX9DmYY6m1r9/2rGS78OmKAM9oHIlHzO1e55pX0x02305rjOvXYrYRkl CJ9aCFIkymi6Mf2kPZ2xKZrc89Hu8Y6T/Py/BCDmMeLu9ndssGIupkqwY+DQhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672103997; 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=uBQkdEXlqeYOjKvOkXbT5s0nrDfkkJx+sBRxb8QG/2A=; b=v1pQH/zEx96S0CFBMaAFoCFKDdWSKEOY0ssl6I1R7VC1K2oG7bN8fdvcf4fIPB0khlJIkJ I2XtuRwlYstI0rv1AYF/9OJP55+3dYG+vkfa8cESMdD5Mc57ygIWAk6AUV7ZYcX++fJAMH gs3N1V7GjeLSfIKB1N0gmgOQZJA5BgiS99NBC2uUHDFRRyoJ/WjqK0vN0C8zfIeDhP85rt Nd/vThklqSD7srtWbcmzKd0CZ32DLm2BS5NIpmn+v2Wqm8ezJ5LRSAO5kUZC3ouygj0xZl 47LaL/+KaHuqqMq57XfDEo+bIhJOo2dvVyokYuN5caxcUijZjpGKNtHQ7e6toQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672103997; a=rsa-sha256; cv=none; b=cCmAqK3uoY+BMznKwjCS8Vu+BTEhWmoTJ2QjsYTxBqUXi2NgkUjTy/ogPT3exJgnimirvU 1kakHuY2M+ZpFheWqdu6cJJ/RwrL8Qiw70jQ6S/kavpgXvnicrria7U60UkGzNs6DOMClI 09gn/dnwsXwmvRJVXF/KjVqbY5zWxQ5+uu+BUH2FhsuElgrDb+wwoHOyoFhKxB05WNg12u Q1gYE4h9FPud34ejBv+dLYwY9cHtTX3wwA30hMP3yqF1UiQs3ZIga02HvB27A88mlRV/Ak T6jUEkNTHdb7A/wxn84+wrjMGXi1FnqyfrG6gUvR6hVTAfmOfKMznN0TwteXWg== 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 4Ngxf535vSzs4p; Tue, 27 Dec 2022 01:19:57 +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 2BR1Jv9F024729; Tue, 27 Dec 2022 01:19:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BR1Jvsk024728; Tue, 27 Dec 2022 01:19:57 GMT (envelope-from git) Date: Tue, 27 Dec 2022 01:19:57 GMT Message-Id: <202212270119.2BR1Jvsk024728@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Vladimir Kondratyev Subject: git: 2ccf459e645b - stable/13 - usb(4): Fix build after 45b48cbc2b5819cd6e3dee3632d66e55d5d7c101. 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 2ccf459e645b51ae34db533d526b4d74f692b582 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=2ccf459e645b51ae34db533d526b4d74f692b582 commit 2ccf459e645b51ae34db533d526b4d74f692b582 Author: Hans Petter Selasky AuthorDate: 2021-12-18 20:26:57 +0000 Commit: Vladimir Kondratyev CommitDate: 2022-12-27 01:14:59 +0000 usb(4): Fix build after 45b48cbc2b5819cd6e3dee3632d66e55d5d7c101. Make sure local variable is initialized when COMPAT_32BIT is not defined. (cherry picked from commit 34077a8ed39f40da4b7faffff0b112f1dcb62ab4) --- sys/dev/hid/hidraw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/hid/hidraw.c b/sys/dev/hid/hidraw.c index 7d1da583a817..eeeb94e396f5 100644 --- a/sys/dev/hid/hidraw.c +++ b/sys/dev/hid/hidraw.c @@ -580,8 +580,9 @@ hidraw_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, if (sc == NULL) return (EIO); -#ifdef COMPAT_FREEBSD32 hgd = (struct hidraw_gen_descriptor *)addr; + +#ifdef COMPAT_FREEBSD32 switch (cmd) { case HIDRAW_GET_REPORT_DESC32: case HIDRAW_GET_REPORT32: