lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1267455868-4533-19-git-send-email-penberg@cs.helsinki.fi>
Date:	Mon,  1 Mar 2010 17:04:21 +0200
From:	Pekka Enberg <penberg@...helsinki.fi>
To:	greg@...ah.com
Cc:	linux-kernel@...r.kernel.org,
	Pekka Enberg <penberg@...helsinki.fi>,
	Pavel Machek <pavel@....cz>
Subject: [PATCH 19/26] w35und: Convert R00_DESCRIPTOR typedef to struct wb35_R00_descriptor

Cc: Pavel Machek <pavel@....cz>
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
 drivers/staging/winbond/wb35rx.c  |    2 +-
 drivers/staging/winbond/wbhal_s.h |    7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/winbond/wb35rx.c b/drivers/staging/winbond/wb35rx.c
index 4d41f6c..b7abee6 100644
--- a/drivers/staging/winbond/wb35rx.c
+++ b/drivers/staging/winbond/wb35rx.c
@@ -168,7 +168,7 @@ static void Wb35Rx_Complete(struct urb *urb)
 	u32		SizeCheck;
 	u16		BulkLength;
 	u32		RxBufferId;
-	R00_DESCRIPTOR 	R00;
+	struct wb35_R00_descriptor 	R00;
 
 	// Variable setting
 	pWb35Rx->EP3vm_state = VM_COMPLETED;
diff --git a/drivers/staging/winbond/wbhal_s.h b/drivers/staging/winbond/wbhal_s.h
index 372a05e..67cddb5 100644
--- a/drivers/staging/winbond/wbhal_s.h
+++ b/drivers/staging/winbond/wbhal_s.h
@@ -107,8 +107,7 @@ enum {
 
 #define FLAG_BAND_RX_MASK			0x10000000	//Bit 28
 
-typedef struct _R00_DESCRIPTOR
-{
+struct wb35_R00_descriptor {
 	union
 	{
 		u32	value;
@@ -132,7 +131,7 @@ typedef struct _R00_DESCRIPTOR
 		};
 		#endif
 	};
-} R00_DESCRIPTOR, *PR00_DESCRIPTOR;
+};
 
 typedef struct _T00_DESCRIPTOR
 {
@@ -332,7 +331,7 @@ struct wb35_descriptor {		// Skip length = 8 DWORD
 	// For R00 and T00 ----------------------------------------------
 	union
 	{
-		R00_DESCRIPTOR	R00;
+		struct wb35_R00_descriptor	R00;
 		T00_DESCRIPTOR	T00;
 	};
 
-- 
1.6.3.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ