From nobody Mon Oct 17 18:02:59 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 4MrlGC5vwlz4b5Ch; Mon, 17 Oct 2022 18:02:59 +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 4MrlGC4LSvz3k0d; Mon, 17 Oct 2022 18:02:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666029779; 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=HB4Mi1f7NWp2tkNDTdHpZBasprJ45AqnXierUYskToU=; b=HuNMI/jeVjuE/N++xTH+hWabjzzHgQ0aYq0a/w3ZzzvAUPr9+HshM7gAtXmiZfquxHpU8G I9EvJqEEu5IJ094UNVQRGbuOaI+Kngilxg5METsNDWXUotq2NAgqJ7NHV/L/83ltIJDuZ+ MIgcyqG68JDVg8MblOBZdy/rydXnqhMMlGuUploXx1S+eU7UGUWK1kdwaKJ4dxKsrYUX1N LftaqIQTC9idtxUt4j2Hek7wXYho/R+/uBdUD2zltAodrvou538albWpLkx/JdaA2zb5wk vBFWLgDGWcXgEpOcdA5H5TnffczxWrYcRmpfjCa3ZNLg1QpKKCEEKQ+TWiHsug== 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 4MrlGC3Q0kzvTt; Mon, 17 Oct 2022 18:02:59 +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 29HI2xqJ095056; Mon, 17 Oct 2022 18:02:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29HI2xjk095055; Mon, 17 Oct 2022 18:02:59 GMT (envelope-from git) Date: Mon, 17 Oct 2022 18:02:59 GMT Message-Id: <202210171802.29HI2xjk095055@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 9a86a3cd9b4c - main - truss: remove now-unused special case for MIPS 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9a86a3cd9b4cb75aad06effb5f17de5e92168028 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666029779; 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=HB4Mi1f7NWp2tkNDTdHpZBasprJ45AqnXierUYskToU=; b=qySLAInHbWsdv1qfcx+lXtiw47NHViho3zmtL5m8HcYc9HzeNRTXYxtQxJgFn3HnRqo1Rp y+zGDY2WmzQ0C3z/3uYEMnvh7fLWiwq/FyfIrv23s9CbwChjvg7ul5GWBTree7DVkKH99q 4Y0bSw5QIyMjYf1MkYld8IF6t7i4i+xkZYobqgn5njKwQdZD+Zw4jee57183FFy6hbpv7W zUJ76q2d+8uenYHLguMMkio+zYdjLSAl9N2V0bePhwUwO5ZFLimiNRoaXoAlSSX8fUUsnw ZlobSx00850afANkxKZGeYcIoYTSkzagDK11KsiFpczKuCyM8Qec1/ftfF4hig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666029779; a=rsa-sha256; cv=none; b=iZULCo28xXXacV0v1XAkQqRP2eMfnoG+IbMoJb62YySIEWJ5IvyRlHlNPSPE6rOfsaLt17 RLASrcAekLTergkPGjeks4jVUsiuQuRRVA/7xK4Muca2a+9knrhxA2L94Jh7RugL50HtOj mrnh+dYWJyoRGmpZmmvwWgHyHaCN1sJg+v8EPtqsZuNzFNlyrPfaKmSPHZP+DiXwf2N+my Gjk36uCJBlA24U16KT2FwT0Dx60ZcgcUiR5Va66khDUjDrzzmoN17awnz70TTdXEGVwVFI ydz4L/NVC1zNyFMgQy9b8gGYVs3ics6sl+F0X1odL58gqOMYMJ7wiAy5WGHiSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=9a86a3cd9b4cb75aad06effb5f17de5e92168028 commit 9a86a3cd9b4cb75aad06effb5f17de5e92168028 Author: Ed Maste AuthorDate: 2022-10-17 17:17:12 +0000 Commit: Ed Maste CommitDate: 2022-10-17 18:02:49 +0000 truss: remove now-unused special case for MIPS Reviewed by: mhorne, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37022 --- usr.bin/truss/syscalls.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 46a0c5ecc44b..ab68e079e6ea 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -1557,17 +1557,12 @@ print_sysctl(FILE *fp, int *oid, size_t len) } /* - * Convert a 32-bit user-space pointer to psaddr_t. Currently, this - * sign-extends on MIPS and zero-extends on all other architectures. + * Convert a 32-bit user-space pointer to psaddr_t by zero-extending. */ static psaddr_t user_ptr32_to_psaddr(int32_t user_pointer) { -#if defined(__mips__) - return ((psaddr_t)(intptr_t)user_pointer); -#else return ((psaddr_t)(uintptr_t)user_pointer); -#endif } /*