Fix some of the sparse warnings

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-05-09 16:00:41 -05:00
parent d4fa4d178f
commit 300892ebfd
14 changed files with 686 additions and 767 deletions

View file

@ -290,14 +290,14 @@ extern void rtl871x_cedbg(const char *fmt, ...);
off_t offset, int count,
int *eof, void *data);
int proc_set_write_reg(struct file *file, const char *buffer,
int proc_set_write_reg(struct file *file, const char __user *buffer,
unsigned long count, void *data);
int proc_get_read_reg(char *page, char **start,
off_t offset, int count,
int *eof, void *data);
int proc_set_read_reg(struct file *file, const char *buffer,
int proc_set_read_reg(struct file *file, const char __user *buffer,
unsigned long count, void *data);
@ -401,7 +401,7 @@ extern void rtl871x_cedbg(const char *fmt, ...);
off_t offset, int count,
int *eof, void *data);
int proc_set_rx_signal(struct file *file, const char *buffer,
int proc_set_rx_signal(struct file *file, const char __user *buffer,
unsigned long count, void *data);
#ifdef CONFIG_80211N_HT
@ -409,28 +409,28 @@ extern void rtl871x_cedbg(const char *fmt, ...);
off_t offset, int count,
int *eof, void *data);
int proc_set_ht_enable(struct file *file, const char *buffer,
int proc_set_ht_enable(struct file *file, const char __user *buffer,
unsigned long count, void *data);
int proc_get_cbw40_enable(char *page, char **start,
off_t offset, int count,
int *eof, void *data);
int proc_set_cbw40_enable(struct file *file, const char *buffer,
int proc_set_cbw40_enable(struct file *file, const char __user *buffer,
unsigned long count, void *data);
int proc_get_ampdu_enable(char *page, char **start,
off_t offset, int count,
int *eof, void *data);
int proc_set_ampdu_enable(struct file *file, const char *buffer,
int proc_set_ampdu_enable(struct file *file, const char __user *buffer,
unsigned long count, void *data);
int proc_get_rx_stbc(char *page, char **start,
off_t offset, int count,
int *eof, void *data);
int proc_set_rx_stbc(struct file *file, const char *buffer,
int proc_set_rx_stbc(struct file *file, const char __user *buffer,
unsigned long count, void *data);
#endif //CONFIG_80211N_HT
@ -442,7 +442,7 @@ extern void rtl871x_cedbg(const char *fmt, ...);
off_t offset, int count,
int *eof, void *data);
int proc_set_rssi_disp(struct file *file, const char *buffer,
int proc_set_rssi_disp(struct file *file, const char __user *buffer,
unsigned long count, void *data);
#ifdef CONFIG_BT_COEXIST