Date: Mon, 16 Jun 2025 14:01:26 -0700 From: Gleb Smirnoff <glebius@freebsd.org> To: Mark Johnston <markj@freebsd.org> Cc: John Baldwin <jhb@freebsd.org>, Konstantin Belousov <kib@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 4e207e3849d4 - main - exterr: make SET_ERRORX() macros an expression evaluating to the errno Message-ID: <aFCGJjKoPgFfqprl@cell.glebi.us> In-Reply-To: <aE1yO1glTul0Zu8r@nuc> References: <202506131940.55DJeTa1046740@gitrepo.freebsd.org> <0003a97e-60ed-4868-8844-0a0346bc97ee@FreeBSD.org> <aE1yO1glTul0Zu8r@nuc>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 14, 2025 at 08:59:39AM -0400, Mark Johnston wrote: M> If your suggestion is implemented, then it would be sensible to use a M> different name to avoid collisions, maybe SET_EXTERROR() or just M> EXTERROR(). I'd vote for EXTERROR(). But now with the function existing, why would we recommend to use the macro instead of the function at all? IMHO, the function shall be the right use and that will make any macro collisions with ZFS or whatever void. -- Gleb Smirnoff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aFCGJjKoPgFfqprl>