Re: [PATCH] [14/28] x86: MCE: Add MSR read wrappers for easier errorinjection

From: H. Peter Anvin
Date: Fri Apr 17 2009 - 19:55:57 EST


Andi Kleen wrote:

If someone feels strongly about that I can do that, but personally
I would think using standard function return arguments without
macros is more regular and more readable in general. That seems
to be also the general trend in the source base, going away from
magic macros.

Do you feel strongly about it?


I would agree with Andi on this; macros or not macros, we should use "function-like" style, analogous to rdmsrl() and wrmsrl() in this case.

Inline functions are also preferred over macros, obviously.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/