greybus: Merge branch 'master' into svc

This change “greybus: Merge branch ‘master’ into svc” in Linux kernel is authored by Greg Kroah-Hartman <gregkh [at] google.com> on Mon Aug 10 17:29:12 2015 -0700.

greybus: Merge branch 'master' into svc

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit 76ecf73.

There is no are 0 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/staging/greybus/gpio.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index 6539530..caee9d1 100644
--- a/drivers/staging/greybus/gpio.c
+++ b/drivers/staging/greybus/gpio.c
@@ -366,7 +366,8 @@ static int gb_gpio_request_recv(u8 type, struct gb_operation *op)
 	request = op->request;
 
 	if (request->payload_size < sizeof(*event)) {
-		dev_err(ggc->chip.dev, "short event receivedn");
+		dev_err(ggc->chip.dev, "short event received (%zu < %zu)n",
+			request->payload_size, sizeof(*event));
 		return -EINVAL;
 	}
 

The commit for this change in Linux stable tree is 76ecf73 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *