reiser4 cryptcompress.c: X<Y<=Z comparison

From: Adrian Bunk
Date: Sun Jan 30 2005 - 04:35:32 EST


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

-
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/