From nobody Mon Apr 11 20:32:52 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 5C19811DFA6C; Mon, 11 Apr 2022 20:32:54 +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 4KcgXP0ZJZz3Qgc; Mon, 11 Apr 2022 20:32:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649709173; 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=Y4X3FKRMXBVAeo2/34oqb0fNufGc1x2LxkLrQUX1SJM=; b=Ur0mfbHDFeG7GbDduKevWk/AnC9qtDwLrxz7ozrpuD0jMKhGYQIKZYLpeox3JYxHKLRdRs ptbwK3X4twK6tWEYxJQ6KJMt43gtVpUsgDzhMsvcawbCrEy8B6vnY4O0F5zD3AnQsrAW+O QsRwz89/VBT+KSMo8sCyhTxYR80PxAY4tt3/TxPvD9zkq+R8MgJ71yLbhHVOY6n3nQ5KW3 dnhJxhNt1ow/EHVLXuEg8jTcKx48k0EgaXo84NOLyJD+CZL/gIQaEqxmVEe1MKIF7+kr60 0xMP/lBush3rd3ZWu7eqdvI3v6szn6Iffvx9L5dbORXwQvhJbZ6ZEK60lu2SOA== 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 A1C0619F1; Mon, 11 Apr 2022 20:32:52 +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 23BKWqfq082849; Mon, 11 Apr 2022 20:32:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23BKWq9q082848; Mon, 11 Apr 2022 20:32:52 GMT (envelope-from git) Date: Mon, 11 Apr 2022 20:32:52 GMT Message-Id: <202204112032.23BKWq9q082848@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 68bfaefb3d93 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 68bfaefb3d93781730ebc63956538154173b77c8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649709173; 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=Y4X3FKRMXBVAeo2/34oqb0fNufGc1x2LxkLrQUX1SJM=; b=BqfF2tJkK6MBwsD6AR692x601IRBbyUENvzGa6gxeaSVmzgW5mpaTuj0nVbVGdJnfnqAUU OES3BwKl7Z5fPD1UIz6Mp788qRbKwMcKM5dsD1sarhemErnaJt3xPHiaHcjbT7NLhjAvui c2Wr2JBdCNG1y5o/GKH2RA/mGm+5AR40xNnRrTBceE7baZdhPJAkzYXFjy9K8PtVz1uCh2 QRccH9aA3UOA08Y2zbwqUt2je+iw+htpEIvXkE4+Txty+AptEq6sJ2WGM0QbteKsSzK6Ng u0B0abv/3Yd9FyNaFH1K/yNWTmbBVuU6Xc6xK0SHybOzku4k65bzs+FF6XeHeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649709173; a=rsa-sha256; cv=none; b=DNrC1Qv5YN7GweD92cBPTPv3yjZp9blDnDZmtddG+QYzRVxz/m4Uuy+DjUBjJh17J0iX2D 8umaPORK//E5l814KHrVGa7amzqskGIqWN3qb3j9y9LrSc6v6kCnEa03Mu42T5C9Dj/CoW AOIekv5DZSCasylVBWVFcuzjKi+LnonxpkGRX2nUwjdWO2IY3avtO+bIwaZo/km8hFYgpM WyjWQNxj0IC2AsaoxeCjjmKPf3v7bnhmGz1fJj5LwY7v2uCTkCoI3E8WezO+iCVhYzrs+F QOayE7ZDs4QKULs1aqkQPCwUg0PJYJ5X401EBnK1rp8TsDRKr5LRnj5xwHmOlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=68bfaefb3d93781730ebc63956538154173b77c8 commit 68bfaefb3d93781730ebc63956538154173b77c8 Author: Dmitry Chagin AuthorDate: 2022-04-11 20:32:02 +0000 Commit: Dmitry Chagin CommitDate: 2022-04-11 20:32:02 +0000 linux(4): Remove unnecessary PTRIN(). --- 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; }