From nobody Fri Apr 28 20:38:46 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 4Q7Pb34fqQz47wkn; Fri, 28 Apr 2023 20:38:55 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [195.93.173.158]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Q7Pb317xhz3MJj; Fri, 28 Apr 2023 20:38:54 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Authentication-Results: mx1.freebsd.org; none Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.17.1/8.16.1) with ESMTP id 33SKckGQ009108; Fri, 28 Apr 2023 23:38:46 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.17.1/8.16.1/Submit) id 33SKckrG009107; Fri, 28 Apr 2023 23:38:46 +0300 (MSK) (envelope-from dchagin) Date: Fri, 28 Apr 2023 23:38:46 +0300 From: Dmitry Chagin To: Doug Ambrisko Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: e133103ab6b3 - main - mrsas(4) fix build on targets that don't define PTRIN. Message-ID: References: <202304282015.33SKFqEg041794@gitrepo.freebsd.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <202304282015.33SKFqEg041794@gitrepo.freebsd.org> X-Rspamd-Queue-Id: 4Q7Pb317xhz3MJj X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:61400, ipnet:195.93.173.0/24, country:RU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Fri, Apr 28, 2023 at 08:15:52PM +0000, Doug Ambrisko wrote: > 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. just #include > --- > 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 > */