diff options
-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 829aba75a6df..158200dc4199 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 | ||