]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: es2: Don't use stack memory as USB request data
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 22 Dec 2015 01:00:37 +0000 (03:00 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 22 Dec 2015 02:22:43 +0000 (18:22 -0800)
commitccb58035915d8e915fbf39c389e95bb11fe9aff3
tree3101f1cfd673ca537b0806e69d02d69a27036b91
parente715a54f4b3fa7d46802984833dc918e44b608e5
greybus: es2: Don't use stack memory as USB request data

USB request data must be DMAble memory, allocate it with kzalloc()
instead of declaring it as a local variable.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c