lkml.org 
[lkml]   [2001]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] pedantic code cleanup - am I wasting my time with this?
Date
In message <3AE449A3.3050601@eisenstein.dk> you write:
> return (waitall ? len : min(sk->rcvlowat, len)) ? : 1;
>
> To be strictly correct the second expression (between '?' and ':' )
> should not be omitted (all you guys already know that ofcourse).

It's a GCC extension. From Documentation/DocBook/kernel-hacking.tmpl:

GNU Extensions are explicitly allowed in the Linux kernel.

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

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.108 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site