linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] radiotap parser: fix endian annotation
@ 2010-04-21  8:25 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2010-04-21  8:25 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless

When I updated this from the corresponding
userspace library, an annotation error crept
in -- this variable needs to be annotated as
little endian. No effect on code generation.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
It's a fix for a .34 patch but I don't care if it makes it in there
since it only fixes a sparse warning.

 include/net/cfg80211.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- wireless-testing.orig/include/net/cfg80211.h	2010-04-21 10:23:42.000000000 +0200
+++ wireless-testing/include/net/cfg80211.h	2010-04-21 10:23:54.000000000 +0200
@@ -1643,7 +1643,7 @@ struct ieee80211_radiotap_iterator {
 	const struct ieee80211_radiotap_namespace *current_namespace;
 
 	unsigned char *_arg, *_next_ns_data;
-	uint32_t *_next_bitmap;
+	__le32 *_next_bitmap;
 
 	unsigned char *this_arg;
 	int this_arg_index;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-21  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-21  8:25 [PATCH] radiotap parser: fix endian annotation Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).