[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1501037087-28880-1-git-send-email-mannyv@gmail.com>
Date: Tue, 25 Jul 2017 22:44:47 -0400
From: Manny Vindiola <mannyv@...il.com>
To: gregkh@...uxfoundation.org
Cc: Sergio Paracuellos <sergio.paracuellos@...il.com>,
Juliana Rodrigues <juliana.orod@...il.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Manny Vindiola <mannyv@...il.com>
Subject: [PATCH] Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count
The field in hfa384x_ps_user_count was defined as u16 but used as __le16
Changed type to __le16 for consistency
Signed-off-by: Manny Vindiola <mannyv@...il.com>
---
drivers/staging/wlan-ng/hfa384x.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 9837a59..3b18e57 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -739,7 +739,7 @@ struct hfa384x_auth_request {
/*-- Unsolicited Frame, MAC Mgmt: PSUserCount (AP Only) --*/
struct hfa384x_ps_user_count {
- u16 usercnt;
+ __le16 usercnt;
} __packed;
struct hfa384x_key_id_changed {
--
2.7.4
Powered by blists - more mailing lists