From nobody Fri Apr 28 20:15:52 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 4Q7P4S2ybjz47vxT; Fri, 28 Apr 2023 20:15:52 +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 4Q7P4S2VBYz3KX9; Fri, 28 Apr 2023 20:15:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682712952; 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=CgmQEMmSZmsd+VfjFluvNwFC4+bmze9fazhBYbXiGHY=; b=w7zzu+OU7ruOwfMaQ7g42hOZNzPcDQ+U+2I1+lMNSoIAWCmSmufOQGAM1qYgv0FF4ERYUJ bpujHyAn92Nx7GazGdlyuvklvqJ1EKlb99GDZprCUwxy/P42cEgfhW8/g+MDiRxEVd3T6U AiTChVDJWFopB0beYW1khgutAGtm+D50/e8+m2GhqitY6S1S9X7D3/5pyTz/349pDvrC0g dv9awPLeRfus/JdkFP7eEvOBkV6xN3P0lrTuRkYV1pHaRLLjpG0BvUoMEDFgB9+yFNIm/o jJzRgrssVeWDcvgw6AZQjhWLISbTRuswrOofCRW8gm/UWI2Njv3deGRgfsiV8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682712952; 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=CgmQEMmSZmsd+VfjFluvNwFC4+bmze9fazhBYbXiGHY=; b=CnfPq/50I5/Hg3pZ5nucG+yuC+fWvYYIUv2d7WUE9nImX+ycoh+F58JMHtIl5u4W9vhCx6 gsdu5JNo0xC7W1ze17jJUBumD1K5dvFbZIVQdnHc6QRLsi0XUn3V5KwlPZ/drPUTMVYn/S W3j2QFiYvYIBBebNYd7mJNx/qJHjIhtwH/4+mEeujgTTqk5GbfX2tPp5KdP0APgGQzcw/k r0uW+MT51Y4EiC1TgSHn0G+qCQFdKkV2bi5/Xfd5yvHYGarlRVEH65Y+Th6Rm95VUFotFg 6m5EvMOGL1ukw3T2oqXds9n3YMAC9w54fqgVES2AmTwSjA9glhHZTfMhlOb93Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682712952; a=rsa-sha256; cv=none; b=s9oCSVJgbgLVZL6rRECb4pekdPd4IzRosM88a8c2IPsnz28cyVTxqbCv2Gve41r+wwXV9o fOEMjcNSzjDY9ht0lqz7O0ZXgCQsqr0Naz9XrWWv53UaUHUcMWY1Fky09kE9x2Nw+NNSii LWUOdcBidoPZvNpeyMF5TO/nlUakacgRnVgzlBmBcofR48qMimTdUioqRUeid77fjpsNmp WuWz8jlRbjAFi4B3HnrslckIId0W3G9yJ9su4+ZljHMCEIxh7mguOyB62rpLIkQXRM3GV5 xFuN8pI3+LLIdQ9KVQBmozpugFoJKRUOY1QT86ldoAmlhG2hVH81uE2s6hlkSg== 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 4Q7P4S1X8hz1Cpb; Fri, 28 Apr 2023 20:15: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 33SKFqGb041795; Fri, 28 Apr 2023 20:15:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33SKFqEg041794; Fri, 28 Apr 2023 20:15:52 GMT (envelope-from git) Date: Fri, 28 Apr 2023 20:15:52 GMT Message-Id: <202304282015.33SKFqEg041794@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: e133103ab6b3 - main - mrsas(4) fix build on targets that don't define 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: ambrisko X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e133103ab6b35d96d06f24825cff6caa298f595a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ambrisko: URL: https://cgit.FreeBSD.org/src/commit/?id=e133103ab6b35d96d06f24825cff6caa298f595a commit e133103ab6b35d96d06f24825cff6caa298f595a Author: Doug Ambrisko AuthorDate: 2023-04-28 20:12:32 +0000 Commit: Doug Ambrisko CommitDate: 2023-04-28 20:15:43 +0000 mrsas(4) fix build on targets that don't define PTRIN. --- sys/dev/mrsas/mrsas_ioctl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dev/mrsas/mrsas_ioctl.c b/sys/dev/mrsas/mrsas_ioctl.c index b8d88c164e81..7f1d9a91ba0f 100644 --- a/sys/dev/mrsas/mrsas_ioctl.c +++ b/sys/dev/mrsas/mrsas_ioctl.c @@ -55,6 +55,10 @@ struct mrsas_passthru_cmd { int complete; }; +#ifndef PTRIN +#define PTRIN(p) ((void *)(uintptr_t)(p)) +#endif + /* * Function prototypes */