Re: [PATCH] sal cleanup

From: Matthew Wilcox <willy_at_debian.org>
Date: 2004-03-02 03:03:03
On Fri, Feb 27, 2004 at 03:02:06PM -0800, David Mosberger wrote:
> >>>>> On Fri, 27 Feb 2004 22:42:15 +0000, Matthew Wilcox <willy@debian.org> said:
> 
>   Matthew> I actually can't find a name for the ?: operator in the C
>   Matthew> FAQ.
> 
> conditional expression?

I remembered I had a copy of the C99 spec ... 6.5.15 calls it the
"conditional operator".  I also found a document calling it the "ternary
operator".

> I'd really prefer sal_revision() combined with a SAL_VERSION() macro.
> I can just look at that and intuitively understand what it's doing
> (especially given the symmetry with the LINUX_VERSION macros), whereas
> with the sal_version_check() function, I have to go look at it's
> definition.

Okey dokey, done.  I'll send it as a separate message to keep the
?:??! discussion out of the changelog ;-)

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Mar 1 11:06:26 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:23 EST