From: Greg Kroah-Hartman Date: Thu, 20 Nov 2014 00:56:13 +0000 (-0800) Subject: greybus: uart-gb: fix up typo from previous patch moving the status variable around. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ffb4b8b398a7c420a94372abcde05a41ac23ccb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: uart-gb: fix up typo from previous patch moving the status variable around. Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/uart-gb.c b/drivers/staging/greybus/uart-gb.c index 1be00d654a6d..8df3bfb24a7e 100644 --- a/drivers/staging/greybus/uart-gb.c +++ b/drivers/staging/greybus/uart-gb.c @@ -159,6 +159,7 @@ static int get_version(struct gb_tty *tty) gb_connection_err(tty->connection, "result %hhu", operation->result); } else { + response = operation->response.payload; if (response->major > GB_UART_VERSION_MAJOR) { pr_err("unsupported major version (%hhu > %hhu)\n", response->major, GB_UART_VERSION_MAJOR);