Re: [PATCH] mask ADT: new mask.h file [2/22]

From: Paul Jackson
Date: Mon Mar 29 2004 - 20:46:31 EST



The following typo needs fixing. I had double opening
brace, instead of parenthesis-brace. Time to increase
my screen font size.

===== include/linux/mask.h 1.3 vs edited =====
--- 1.3/include/linux/mask.h Mon Mar 29 17:10:27 2004
+++ edited/include/linux/mask.h Mon Mar 29 17:37:01 2004
@@ -352,13 +352,13 @@
})

#define MASK_ALL(nbits)
-{{
+({
[0 ... BITS_TO_LONGS(nbits)-1] = ~0UL,
[BITS_TO_LONGS(nbits)-1] = MASK_LAST_WORD(nbits)
}}

#define MASK_NONE(nbits)
-{{
+({
[0 ... BITS_TO_LONGS(nbits)-1] = 0UL
}}

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/