git: 543eaf070e04 - stable/13 - linux(4): Remove unnecessary PTRIN().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 19:39:07 UTC
The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=543eaf070e040e57159644e50aaf65ef821b5598 commit 543eaf070e040e57159644e50aaf65ef821b5598 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2022-04-11 20:32:02 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> 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; }