checkpatch false positive

From: Richard Kennedy
Date: Wed Mar 17 2010 - 07:00:35 EST


I'm getting this error from checkpatch which is a false positive AFAICT.
I don't see any other way to code this macro so maybe this rule
shouldn't apply?.

ERROR: space prohibited before open square bracket '['
#24: FILE: drivers/staging/wlan-ng/p80211wext.c:1685:
+#define IW_IOCTL(x) [(x)-SIOCSIWCOMMIT]

regards
Richard

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