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

Paul Jackson
2004-03-30T01:44:40Z

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