From nobody Fri Apr 28 20:53:39 2023 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 4Q7Pw35hYgz47y18; Fri, 28 Apr 2023 20:53:39 +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 4Q7Pw35Cmmz3PJn; Fri, 28 Apr 2023 20:53:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682715219; 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=oBK6Oc5JYkoIA89SVHRcWgEPeMBFdMfK6saiy19xfeE=; b=pd46QqeMIAUT5yIqtnOT2GOjEeHzvs1V9Ih+jtO3pnpEzrgD6Z+rM7kifi6ZeZINF3VjN4 Ry/+z9alFI752wqejEBOJIjdyybm7Tc7KTncIpiVf7Gh52zJujpf0CwLM0HwMbJG13tasA 8nLpZIxTqPdYv0fJBYVrE8Ul8UEXVcx242QAhcxxAvjqi1zhIGvOSjd3unYVZJJI0m01cM DCK21qARHXur8ADuH4I00mUshAL7291i1vX7UEBt2LYJd7xGvreydgfKeGjwSM1w9HBwrY 5HPBIAeki7ikip5RF9mKyP5AjBZRC+83BOr2afsR+Rr8ITpfoIuWj72tfkH5eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682715219; 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=oBK6Oc5JYkoIA89SVHRcWgEPeMBFdMfK6saiy19xfeE=; b=fvxzSvQb6ZDOu3mR9ZBswFX0AhwGDOfwp926ErLI9/lO0/s7cvo1ghGUWU9w9jKBgwu7lo giOJQwphVKdfkTBenh7Sgkkocqpin4yFy9/+FnWDZHsbFJkZz1bB+EiOn7dltsuGpIfjnn RtJ1mrRB63ZF0bZaoS2Xjdg5OZL3LK5BQR9DpU6oWgd5QET0OAck/AE/93E/jBzvrTVfId WO6N/1rQ4YtTo7uWxC5adrUvRN1Jmu3VeLMTTMT0ZIiLC2N5E1pZbb0EVMLUspgs45A9Vy tWfbvZWhXUoDjErOjIXCXYq46IS5H7hlNGkXJ0RL0TomnFvdggOD2IUEkHaYJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682715219; a=rsa-sha256; cv=none; b=xSLppBGUS1cS6MqCuOSbgMV7n3Lf8yNaKC4GXgoM6eh/Gu3TV5ii4RQ8umdfvIcnl9w2Ms MQiMW9kXU7gssv1zADFGnv9kBx+IUApIJkRTvFU0tv8xjdSvWATzDtpxVPu3I2Xnn1JTG0 SoSeKxa2+cMgEOqwjU1fwtxwvAL3/D8jv5wOGkL9qFucxP06TMZIuyAcBvxweCjH86yx+P DOyy5o8gemEHjdiPDGK29NDCUgbo8Hvzen7cvaIq+za2jSHhUhZFt3pOfH4I0Rj9t620Gw BN95mmStPFStzVwbfpXEFMTPJP7FVGmdWUfN9mVNQ9b1Ae/BTSs+X3Bjt0n4Fw== 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 4Q7Pw34HBhzFcC; Fri, 28 Apr 2023 20:53:39 +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 33SKrdww006708; Fri, 28 Apr 2023 20:53:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33SKrdeq006707; Fri, 28 Apr 2023 20:53:39 GMT (envelope-from git) Date: Fri, 28 Apr 2023 20:53:39 GMT Message-Id: <202304282053.33SKrdeq006707@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Doug Ambrisko Subject: git: 676333296937 - main - mrsas(4) switch from PTRIN define to include sys/abi_compat.h 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: ambrisko X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 67633329693723734aef003044e13db07f1fbf5f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ambrisko: URL: https://cgit.FreeBSD.org/src/commit/?id=67633329693723734aef003044e13db07f1fbf5f commit 67633329693723734aef003044e13db07f1fbf5f Author: Doug Ambrisko AuthorDate: 2023-04-28 20:51:20 +0000 Commit: Doug Ambrisko CommitDate: 2023-04-28 20:51:20 +0000 mrsas(4) switch from PTRIN define to include sys/abi_compat.h Suggested by: dchagin --- sys/dev/mrsas/mrsas_ioctl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/mrsas/mrsas_ioctl.c b/sys/dev/mrsas/mrsas_ioctl.c index 7f1d9a91ba0f..9d3699df5b7b 100644 --- a/sys/dev/mrsas/mrsas_ioctl.c +++ b/sys/dev/mrsas/mrsas_ioctl.c @@ -40,6 +40,7 @@ #include __FBSDID("$FreeBSD$"); +#include #include #include @@ -55,10 +56,6 @@ struct mrsas_passthru_cmd { int complete; }; -#ifndef PTRIN -#define PTRIN(p) ((void *)(uintptr_t)(p)) -#endif - /* * Function prototypes */