greybus: uart-gb: fix up typo from previous patch moving the status variable around.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
25d0f81a0e
commit
9ffb4b8b39
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue