projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a688d
)
usb: gadget: f_mass_storage: add mising <linux/uaccess.h>
author
Felipe Balbi
<balbi@ti.com>
Thu, 6 Aug 2015 16:23:32 +0000
(11:23 -0500)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 6 Aug 2015 16:23:32 +0000
(11:23 -0500)
<linux/uaccess.h> was originally being pulled
indirectly through some other header, however
it's not anymore, so we need to include it
directly
Reported-by: Jim Davis <jim.epost@gmail.com>
Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_mass_storage.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/function/f_mass_storage.c
b/drivers/usb/gadget/function/f_mass_storage.c
index 11a7f5aa955baeaa01fee53218466a7037b6e3be..a6eb537d77689f53e7b0e31cff14c2f523c52fe4 100644
(file)
--- a/
drivers/usb/gadget/function/f_mass_storage.c
+++ b/
drivers/usb/gadget/function/f_mass_storage.c
@@
-214,6
+214,7
@@
#include <linux/string.h>
#include <linux/freezer.h>
#include <linux/module.h>
+#include <linux/uaccess.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>