[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49E916EF.5040207@zytor.com>
Date: Fri, 17 Apr 2009 16:55:27 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Andi Kleen <andi@...stfloor.org>
CC: Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>,
linux-kernel@...r.kernel.org, mingo@...e.hu, tglx@...utronix.de
Subject: Re: [PATCH] [14/28] x86: MCE: Add MSR read wrappers for easier error
injection
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists