staging: vt6656: create new structure names to remove typedefs.
PATCH 1/11 staging: vt6656: create new structure names to remove typedefs.
This patch and the next 8 patches remove the old structure names and replace;
struct vnt_private for DEVICE_INFO and PSDevice struct vnt_manager for SMgmtObject
struct vnt_rx_mgmt for SRxMgmtPacket and PSRxMgmtPacket struct vnt_tx_mgmt for STxMgmtPacket and PSTxMgmtPacket
and
struct vnt_manager vnt_mgmt
to replace
SMgmtObject sMgmtObj;
Applied after patch staging: vt6656: dpc.c :RXbBulkInProcessData clean up RSC
--- drivers/staging/vt6656/device.h | 3 ++- drivers/staging/vt6656/wmgr.h | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-)
drivers/staging/vt6656/device.h +2 -1
@@ -392,7 +392,7 @@ typedef struct __device_opt { }OPTIONS , *POPTIONS ; -typedef struct __device_info { +typedef struct vnt_private { // netdev struct usb_device* usb;
@@ -525,6 +525,7 @@ typedef struct __device_info {// 802.11 management +struct vnt_manager vnt_mgmt;SMgmtObject sMgmtObj;u64 qwCurrTSF;
drivers/staging/vt6656/wmgr.h +5 -5
@@ -218,8 +218,8 @@ typedef enum tagWMAC_POWER_MODE { -// Tx Management Packet descriptor -typedef struct tagSTxMgmtPacket { +/* Tx Management Packet descriptor */ +typedef struct vnt_tx_mgmt { PUWLAN_80211HDR p80211Header; unsigned int cbMPDULen;
@@ -228,8 +228,8 @@ typedef struct tagSTxMgmtPacket { } STxMgmtPacket, *PSTxMgmtPacket; -// Rx Management Packet descriptor -typedef struct tagSRxMgmtPacket { +/* Rx Management Packet descriptor */ +typedef struct vnt_rx_mgmt { PUWLAN_80211HDR p80211Header; u64 qwLocalTSF;
@@ -244,7 +244,7 @@ typedef struct tagSRxMgmtPacket { -typedef struct tagSMgmtObject +typedef struct vnt_manager { void *pAdapter; // MAC address
Signature · 1 line
1.8.0
Greg KH
maintainerQuoted 10 lines · Malcolm Priestley
This patch and the next 8 patches remove the old structure names and replace;
struct
vnt_privateforDEVICE_INFOand PSDevice structvnt_managerfor SMgmtObject
structvnt_rx_mgmtfor SRxMgmtPacket and PSRxMgmtPacket structvnt_tx_mgmtfor STxMgmtPacket and PSTxMgmtPacket
Quoted 7 lines
and
struct
vnt_managervnt_mgmt
to replace
SMgmtObject sMgmtObj;Applied after patch staging: vt6656:
dpc.c:RXbBulkInProcessData clean up RSC
Not all of these patches could be applied, can you please redo the ones I didn't apply and resend them?
thanks,
greg k-h
Quoted 13 lines · Greg KH
Quoted 12 lines · Malcolm Priestley
This patch and the next 8 patches remove the old structure names and replace;
struct
vnt_privateforDEVICE_INFOand PSDevice structvnt_managerfor SMgmtObject
structvnt_rx_mgmtfor SRxMgmtPacket and PSRxMgmtPacket structvnt_tx_mgmtfor STxMgmtPacket and PSTxMgmtPacketand
Quoted 9 lines
Quoted 5 lines
struct
vnt_managervnt_mgmt
to replace
SMgmtObject sMgmtObj;Applied after patch staging: vt6656:
dpc.c:RXbBulkInProcessData clean up RSCNot all of these patches could be applied, can you please redo the ones I didn't apply and resend them?
Yes, the missing rebased patches have been sent.
Regards
Malcolm