Author: Felipe Balbi <balbi@ti.com> This patch fixes the following Coccinelle warning: drivers/usb/gadget/inode.c:442:8-15: WARNING \ opportunity for memdup_user Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman — drivers/usb/gadget/inode.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-) diff –git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index b94c049..b5be6f03 100644 — a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c @@ -439,11 +439,9 @@ ep_write (struct file *fd, …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.