Commit bcb91a5c authored by Jannik Becher's avatar Jannik Becher Committed by Greg Kroah-Hartman

staging: rtl8712: changed function argument to __le32

Fixed a sparse warning "cast to restricted __le32".
Function argument is of type __le32.
Signed-off-by: default avatarJannik Becher <becher.jannik@gmail.com>
Tested-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e8cd841b
...@@ -425,7 +425,7 @@ int r8712_cmd_thread(void *context) ...@@ -425,7 +425,7 @@ int r8712_cmd_thread(void *context)
thread_exit(); thread_exit();
} }
void r8712_event_handle(struct _adapter *padapter, uint *peventbuf) void r8712_event_handle(struct _adapter *padapter, __le32 *peventbuf)
{ {
u8 evt_code, evt_seq; u8 evt_code, evt_seq;
u16 evt_sz; u16 evt_sz;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#ifndef _RTL8712_EVENT_H_ #ifndef _RTL8712_EVENT_H_
#define _RTL8712_EVENT_H_ #define _RTL8712_EVENT_H_
void r8712_event_handle(struct _adapter *padapter, uint *peventbuf); void r8712_event_handle(struct _adapter *padapter, __le32 *peventbuf);
void r8712_got_addbareq_event_callback(struct _adapter *adapter, u8 *pbuf); void r8712_got_addbareq_event_callback(struct _adapter *adapter, u8 *pbuf);
enum rtl8712_c2h_event { enum rtl8712_c2h_event {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment