OSDN Git Service

greybus: fix a bug in gb_operation_sync()
authorAlex Elder <elder@linaro.org>
Tue, 2 Dec 2014 23:03:51 +0000 (17:03 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 2 Dec 2014 23:22:22 +0000 (15:22 -0800)
commit6cd6ec55f4940bcddeed65e4eebb6190a64a4eb7
tree45d02fce2c68587df8c51f447e40b27e84f2ead7
parent583d233fa9d6fffd028af5219bcb5753bcb7b5ef
greybus: fix a bug in gb_operation_sync()

The memcpy of request data into the request payload was
copying the data into the wrong location.  Fix that.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c