sparse warnings for variable length arrays

From: Heiko Carstens
Date: Thu Jul 13 2006 - 04:58:57 EST


Hi all,

in include/asm-s390/bitops.h we have several typedefs:

typedef struct { long _[__BITOPS_WORDS(size)]; } addrtype;

sparse warns about these with "error: bad constant expression".
Is there any way to tell sparse to be quiet? __force doesn't seem to work.
-
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/