From nobody Sat Dec 18 20:32:37 2021 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 5246E18EB652; Sat, 18 Dec 2021 20:32:38 +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 4JGcwj3yQkz3Nrk; Sat, 18 Dec 2021 20:32:37 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 60C22160A9; Sat, 18 Dec 2021 20:32:37 +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 1BIKWbQY020377; Sat, 18 Dec 2021 20:32:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BIKWbCa020376; Sat, 18 Dec 2021 20:32:37 GMT (envelope-from git) Date: Sat, 18 Dec 2021 20:32:37 GMT Message-Id: <202112182032.1BIKWbCa020376@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: 8b60419b798a - main - usb(4): Fix build on 32-bit platforms after 0ec590d24e415dd36e38648630a0b963412ad87e. 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: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8b60419b798ae9049988c529e6af3f313a5cce55 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639859557; 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=C1jVSTFOdJWAIFftNKQkMcN3t5HDdtj8CloJrZmTLOU=; b=QjnPW4RJcOir09mUD25rNe9lSaVdcLxX8NmhgdmlXFMutbneIqlSDuE2HPN8mhKZUrwDJP CfR4Lc6hE2lIkRk/gdoeQb2v45Gx0X7LVz+uZsRYAPMhBmexZwLblapOkJFmnlF47N9Qmx cUSvGDp2rqTGipF00y1tG3KjLLUXXB6SxnbIIUGBkUyJLyPcfyUrDted3s1K/LTWKSB5Ha KEXfnQ7Nx1UPp1R15e0if2k/zhuBobKiWZTUfbA2CNmrMwfyqdxrBX5Qa89N8GoQIPVfRt Qni5WCuy9ZSG2PIyS3EX8c5D7oIn5Vy98IZtNqKbGb19nYwGoEpH5yBsOIdKKg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639859557; a=rsa-sha256; cv=none; b=VkImGXIznVPOtQ1O0rDarJLcad24lappOlEklHJfTYeUxAM6npzKzgGkBDhMX3BWe0SUdC shh4whWboBXniQ0YPFFp4cq9DrRwbYTOVtgzHFKnQCvkSRIJaOgzsJ1Db6hl88fa6KBr9/ Y/XzgmGdu6oZvo9fIPArvBvbVKjtioidAyi67wxIGCbzizCUo9XdJifzz6o8OZbH7alNzF 28oE6UHeTvcnlCk0Ih8Fnwa4pM5GRuGvSHnDhVWKP27UA/j7Bh4Ud6sN6aaOFq3CX6FOj4 gfHkoM+Xr7mxB50JXibQrvewpgqmvkuevSB9fIMZxHmkK77X3SmulJQLYIEMoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=8b60419b798ae9049988c529e6af3f313a5cce55 commit 8b60419b798ae9049988c529e6af3f313a5cce55 Author: Hans Petter Selasky AuthorDate: 2021-12-18 20:29:26 +0000 Commit: Hans Petter Selasky CommitDate: 2021-12-18 20:31:58 +0000 usb(4): Fix build on 32-bit platforms after 0ec590d24e415dd36e38648630a0b963412ad87e. Cast pointer to "long" for now, to match the fueword() prototype. MFC after: 1 week Sponsored by: NVIDIA Networking --- sys/dev/usb/usb_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/usb_generic.c b/sys/dev/usb/usb_generic.c index 5efab44d0efd..ab076d7234fb 100644 --- a/sys/dev/usb/usb_generic.c +++ b/sys/dev/usb/usb_generic.c @@ -1084,7 +1084,7 @@ ugen_fs_getbuffer(void **uptrp, struct usb_fifo *f, void *buffer, u.ppBuffer = buffer; switch (f->fs_ep_sz) { case sizeof(struct usb_fs_endpoint): - if (fueword(u.ppBuffer + n, (uintptr_t *)uptrp) != 0) + if (fueword(u.ppBuffer + n, (long *)uptrp) != 0) return (EFAULT); return (0); #ifdef COMPAT_FREEBSD32