From nobody Fri Jun 17 19:39:07 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 4BC6285BD25; Fri, 17 Jun 2022 19:39:08 +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 4LPq9R6PNrz3Qyr; Fri, 17 Jun 2022 19:39:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494748; 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=zI9Z4eyOXla4hBCY7FJlGVpGXRsveVEVIjXUSBnQSuE=; b=pdDLPD0LaAPhky/b8eo8EIlEmFOYG7XI0HqJiiAhk/0Snlw2yMjEIogss+RPX7IC37TS8d akhETQ1ciqJO9pgvarMRaxrMFo/yRO7L3zmvoWWVjsoWTYJ8thEygobIdKh+6QwARdO1Lm g4Fy99NbUpd7UTcbUOGOgOwdS3lOH5ich09z9DHBdJiJlAHQ/B05jVuBw2wvHnV6oil5Gl s5S31FWQt+xxZcoKbE/0ow9ZpTauQzbVUFuUvzF/9vN6Rv4a5IRY3xQTLsQggNC04hNEDJ f1w1Sh4b+msXI1z6VVtmbHVz4GBJvHyE3j7rzkeZbUx1SWWLARTIONcyeGjy1g== 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 355B725C4D; Fri, 17 Jun 2022 19:39:07 +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 25HJd7YX015583; Fri, 17 Jun 2022 19:39:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJd7aL015582; Fri, 17 Jun 2022 19:39:07 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:39:07 GMT Message-Id: <202206171939.25HJd7aL015582@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: 543eaf070e04 - stable/13 - linux(4): Remove unnecessary PTRIN(). 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 543eaf070e040e57159644e50aaf65ef821b5598 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494748; 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=zI9Z4eyOXla4hBCY7FJlGVpGXRsveVEVIjXUSBnQSuE=; b=px5x87OqfeuGHaHx60Ar6Hlty48ZxP3YpF4cEGCrP+AUPKq0TyasQHrnGRLPjEV+hRN2OJ bd3sb1prp1O2RaHEkPqSgcIBm897rXZhypCeOoow7enugFIq6XRKZmPk0Vp6mzeqgGv1GG xaFQciNhcWt9juzMBLWOFOiVzHqmuVdqarTtUgTdD4xTipslBpmU7vTP0HeYB5CLvrhOev UA8tKtF63or4n0RdfvCzHkGq4CPME2TroWebg5Py6pG19drAZYhJfDth0JVbGnHLskYrBj 34lDqLNlhecTXmAoqgrbpx+ykPWL+QIjBHmGrPSoOkG+mDCfXkWpoPEMmpT/6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494748; a=rsa-sha256; cv=none; b=uAdK4rQaOdXD+so1KNNdH6U6mma9Ewcsz2naLz/bss3VFeF2k80mbduFoIJqrVC/+6ZdKU FRBffpkYMLeluUt9rGS4m6BBegXfeTcD56iSwkSC1I+BP0SrU0lSsGXz8NGE8dthA9BetF iCWVNEnONEeF73HOZKMLmdsDyOCN/LSDkCu7XLYQswzjg3pUeJRAJXqTra1kEC5DcECV8T hxB/KYXovwzBNeFUkpqLZnkxEoWhon/pW3o4sT70/W8g5Ontpx9OpT1w8I6RbpKbOMj5tg fkdfEo1U/X4tI+WQmV0CcSo5BECuDSQMhidHX3TnL+woo88FvnW1AQWB1qEA7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=543eaf070e040e57159644e50aaf65ef821b5598 commit 543eaf070e040e57159644e50aaf65ef821b5598 Author: Dmitry Chagin AuthorDate: 2022-04-11 20:32:02 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:33:52 +0000 linux(4): Remove unnecessary PTRIN(). (cherry picked from commit 68bfaefb3d93781730ebc63956538154173b77c8) --- sys/compat/linux/linux_socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index 4ba023daaba2..16e8c7dadb98 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -1589,8 +1589,8 @@ linux_recvmsg_common(struct thread *td, l_int s, struct l_msghdr *msghdr, */ if (msg->msg_name != NULL && msg->msg_namelen > 0) { msg->msg_name = PTRIN(linux_msghdr.msg_name); - error = linux_copyout_sockaddr(sa, - PTRIN(msg->msg_name), msg->msg_namelen); + error = linux_copyout_sockaddr(sa, msg->msg_name, + msg->msg_namelen); if (error != 0) goto bad; }