Skip to contentSkip to conversation

staging : wilc1000 : remove UWORD32

PATCH In review chaehyun lim 2 participants 2 messages Jun 3, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 staging : wilc1000 : remove UWORD32

Use u32 instead of UWORD32

---
 drivers/staging/wilc1000/coreconfigurator.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/coreconfigurator.c +3 -3
index 958cf0b..0dc4413 100644
@@ -498,10 +498,10 @@ INLINE WILC_Uint32 get_beacon_timestamp_lo(WILC_Uint8 *data)
 	return time_stamp;
 }
 
-INLINE UWORD32 get_beacon_timestamp_hi(u8 *data)
+INLINE u32 get_beacon_timestamp_hi(u8 *data)
 {
-	UWORD32 time_stamp = 0;
-	UWORD32 index    = (MAC_HDR_LEN + 4);
+	u32 time_stamp = 0;
+	u32 index    = (MAC_HDR_LEN + 4);
 
 	time_stamp |= data[index++];
 	time_stamp |= (data[index++] << 8);
Signature · 1 line
1.9.1
#1 lore raw

hi,
some remark for you patch:

1. where is the definition of UWORD32 ?
2. can it be removed also ?

hope that helps,
re,
wh

Am 03.06.2015 03:17, schrieb chaehyun lim:

Quoted 25 lines

Use u32 instead of UWORD32

---
 drivers/staging/wilc1000/coreconfigurator.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/wilc1000/coreconfigurator.c +3 -3
index 958cf0b..0dc4413 100644
@@ -498,10 +498,10 @@ INLINE WILC_Uint32 get_beacon_timestamp_lo(WILC_Uint8 *data)
 	return time_stamp;
 }
 
-INLINE UWORD32 get_beacon_timestamp_hi(u8 *data)
+INLINE u32 get_beacon_timestamp_hi(u8 *data)
 {
-	UWORD32 time_stamp = 0;
-	UWORD32 index    = (MAC_HDR_LEN + 4);
+	u32 time_stamp = 0;
+	u32 index    = (MAC_HDR_LEN + 4);
 
 	time_stamp |= data[index++];
 	time_stamp |= (data[index++] << 8);