mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* checkpatch false positive
@ 2010-03-17 11:00 Richard Kennedy
  2010-03-17 11:53 ` Andy Whitcroft
  2010-03-17 15:25 ` Joe Perches
  0 siblings, 2 replies; 8+ messages in thread
From: Richard Kennedy @ 2010-03-17 11:00 UTC (permalink / raw)
  To: Andy Whitcroft; +Cc: lkml

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-03-17 17:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-17 11:00 checkpatch false positive Richard Kennedy
2010-03-17 11:53 ` Andy Whitcroft
2010-03-17 15:25 ` Joe Perches
2010-03-17 15:40   ` Richard Kennedy
2010-03-17 16:05     ` [PATCH] wireless.h: Add STD_IW_HANDLER macro Joe Perches
2010-03-17 16:08       ` Johannes Berg
2010-03-17 17:46         ` [PATCH 1/2] net/wireless/wext_core.c: Use IW_IOCTL_IDX macro Joe Perches
2010-03-17 17:48           ` [PATCH 2/2] net/wireless/wext_core.c: Use IW_EVENT_IDX macro Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®