public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* reiser4 cryptcompress.c: X<Y<=Z comparison
@ 2005-01-30  9:34 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-01-30  9:34 UTC (permalink / raw)
  To: reiserfs-dev; +Cc: linux-kernel

gcc 4.0 gives the following warning:

<--  snip  -->

...
  CC      fs/reiser4/plugin/cryptcompress.o
fs/reiser4/plugin/cryptcompress.c: In function 'grab_cluster_pages':
fs/reiser4/plugin/cryptcompress.c:1415: warning: comparisons like X<=Y<=Z do  have their mathematical meaning
...

<--  snip  -->

After a quick look, it seems gcc is correct and this assertion needs a
correction.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-30  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-30  9:34 reiser4 cryptcompress.c: X<Y<=Z comparison Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox