Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 10:28:37 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Christoph Mallon <christoph.mallon@gmx.de>
Cc:        Kirk McKusick <mckusick@mckusick.com>, Alfred Perlstein <bright@mu.org>, freebsd-arch@FreeBSD.org
Subject:   Re: Proposal: Unify printing the function name in panic messages()
Message-ID:  <86bobphoe2.fsf@ds4.des.no>
In-Reply-To: <5118BEC9.1090708@gmx.de> (Christoph Mallon's message of "Mon, 11 Feb 2013 10:50:01 %2B0100")
References:  <51141E33.4080103@gmx.de> <511426B8.2070800@FreeBSD.org> <51160E06.1070404@gmx.de> <20130209195417.C1753@besplex.bde.org> <51161C10.9070002@gmx.de> <5116504A.7010409@mu.org> <5118BEC9.1090708@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Christoph Mallon <christoph.mallon@gmx.de> writes:
> Alfred Perlstein <bright@mu.org> writes:
> > Would we just turn panic() into a macro instead of making PANIC()
> > everywhere in the kernel?  Too many uppercase macros are hard on the
> > eyes.
> This is a good point.  I will adjust the patches accordingly.

Please don't.  Macros need to be easily recognizable as such, since
macro parameters are evaluated differently from function parameters.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86bobphoe2.fsf>