diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 21:43:45 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-26 22:20:21 -0400 |
commit | 260ef31135c2250ec01aa343192ec2a071b8e05f (patch) | |
tree | 0d840ff211d9fcb356472a51849e0b3a691f4900 /drivers | |
parent | 63784dd02b2ac85e867be9d6a6f5536c4ff738be (diff) |
usb/gadget: fix misannotations
__user * != * __user
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/f_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index 829aba75a6d..158200dc419 100644 --- a/drivers/usb/gadget/f_fs.c +++ b/drivers/usb/gadget/f_fs.c | |||
@@ -340,7 +340,7 @@ ffs_sb_create_file(struct super_block *sb, const char *name, void *data, | |||
340 | 340 | ||
341 | static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) | 341 | static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) |
342 | __attribute__((warn_unused_result, nonnull)); | 342 | __attribute__((warn_unused_result, nonnull)); |
343 | static char *ffs_prepare_buffer(const char * __user buf, size_t len) | 343 | static char *ffs_prepare_buffer(const char __user *buf, size_t len) |
344 | __attribute__((warn_unused_result, nonnull)); | 344 | __attribute__((warn_unused_result, nonnull)); |
345 | 345 | ||
346 | 346 | ||
@@ -2436,7 +2436,7 @@ static int ffs_mutex_lock(struct mutex *mutex, unsigned nonblock) | |||
2436 | : mutex_lock_interruptible(mutex); | 2436 | : mutex_lock_interruptible(mutex); |
2437 | } | 2437 | } |
2438 | 2438 | ||
2439 | static char *ffs_prepare_buffer(const char * __user buf, size_t len) | 2439 | static char *ffs_prepare_buffer(const char __user *buf, size_t len) |
2440 | { | 2440 | { |
2441 | char *data; | 2441 | char *data; |
2442 | 2442 | ||