Proposal: Unify printing the function name in panic messages()

Dag-Erling Smørgrav des at des.no
Tue Feb 12 09:28:38 UTC 2013


Christoph Mallon <christoph.mallon at gmx.de> writes:
> Alfred Perlstein <bright at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list