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: <1269031264-2327-7-git-send-email-sankar.curiosity@gmail.com>
Date:	Sat, 20 Mar 2010 02:11:04 +0530
From:	Sankar P <sankar.curiosity@...il.com>
To:	gregkh@...e.de, pavel@....cz, penberg@...helsinki.fi,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	sankar.curiosity@...il.com
Subject: [PATCH 6/6] staging: winbond: Convert typedef struct _SCAN_REQ_PARA to struct

This patch converts typedef struct _SCAN_REQ_PARA to
struct scan_req_para and the places where it is used.

Signed-off-by: Sankar P <sankar.curiosity@...il.com>
---
 drivers/staging/winbond/scan_s.h |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/winbond/scan_s.h b/drivers/staging/winbond/scan_s.h
index 209717f..e677fc4 100644
--- a/drivers/staging/winbond/scan_s.h
+++ b/drivers/staging/winbond/scan_s.h
@@ -31,7 +31,9 @@
 
 ///////////////////////////////////////////////////////////////////////////
 //Global data structures, Initial Scan & Background Scan
-typedef struct _SCAN_REQ_PARA	//mandatory parameters for SCAN request
+
+/* Mandatory parameters for SCAN request */
+struct scan_req_para
 {
 	u32				ScanType;			//passive/active scan
 
@@ -40,14 +42,14 @@ typedef struct _SCAN_REQ_PARA	//mandatory parameters for SCAN request
 	struct SSID_Element	sSSID; // 34B. scan only for this SSID
 	u8			reserved_2[2];
 
-} SCAN_REQ_PARA, *psSCAN_REQ_PARA;
+};
 
 typedef struct _SCAN_PARAMETERS
 {
 	u16				wState;
 	u16				iCurrentChannelIndex;
 
-	SCAN_REQ_PARA	sScanReq;
+	struct scan_req_para	sScanReq;
 
 	u8				BSSID[MAC_ADDR_LENGTH + 2];		//scan only for this BSSID
 
-- 
1.6.4.2

--
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