rtl8188eu: Convert typedef for _buffer to unsigned char

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-24 17:09:06 -05:00
parent 3e3d47445a
commit e76fb1a97d
3 changed files with 3 additions and 5 deletions

View file

@ -74,8 +74,6 @@
spinlock_t lock; spinlock_t lock;
}; };
typedef unsigned char _buffer;
typedef struct __queue _queue; typedef struct __queue _queue;
typedef struct list_head _list; typedef struct list_head _list;
typedef struct net_device * _nic_hdl; typedef struct net_device * _nic_hdl;

View file

@ -479,9 +479,9 @@ __inline static u8 *recvframe_pull_tail(union recv_frame *precvframe, sint sz)
__inline static _buffer * get_rxbuf_desc(union recv_frame *precvframe) __inline static unsigned char *get_rxbuf_desc(union recv_frame *precvframe)
{ {
_buffer * buf_desc; unsigned char *buf_desc;
if (precvframe==NULL) if (precvframe==NULL)
return NULL; return NULL;

View file

@ -26,7 +26,7 @@
struct pkt_file { struct pkt_file {
struct sk_buff *pkt; struct sk_buff *pkt;
size_t pkt_len; //the remainder length of the open_file size_t pkt_len; //the remainder length of the open_file
_buffer *cur_buffer; unsigned char *cur_buffer;
u8 *buf_start; u8 *buf_start;
u8 *cur_addr; u8 *cur_addr;
size_t buf_len; size_t buf_len;