aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/heci/heci.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/heci/heci.h')
-rw-r--r--drivers/staging/heci/heci.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/heci/heci.h b/drivers/staging/heci/heci.h
index 9b279f3e84a1..14192e0cc227 100644
--- a/drivers/staging/heci/heci.h
+++ b/drivers/staging/heci/heci.h
@@ -124,12 +124,12 @@ void heci_wd_timer(unsigned long data);
* input output function prototype
*/
int heci_ioctl_get_version(struct iamt_heci_device *dev, int if_num,
- struct heci_message_data *u_msg,
+ struct heci_message_data __user *u_msg,
struct heci_message_data k_msg,
struct heci_file_private *file_ext);
int heci_ioctl_connect_client(struct iamt_heci_device *dev, int if_num,
- struct heci_message_data *u_msg,
+ struct heci_message_data __user *u_msg,
struct heci_message_data k_msg,
struct file *file);
@@ -148,7 +148,7 @@ int pthi_write(struct iamt_heci_device *dev,
struct heci_cb_private *priv_cb);
int pthi_read(struct iamt_heci_device *dev, int if_num, struct file *file,
- char *ubuf, size_t length, loff_t *offset);
+ char __user *ubuf, size_t length, loff_t *offset);
struct heci_cb_private *find_pthi_read_list_entry(
struct iamt_heci_device *dev,