Skip to content
Commit cdb5781d authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Greg Kroah-Hartman
Browse files

greybus: uart: Fix sparse warning



Greg reported sparse picked up the following warning:
/home/gregkh/ara/greybus/uart.c:105:34: warning: cast to restricted __le16

This is due to the control variable in gb_uart_serial_state_request which
needs to be declared __le16 not __u16.

Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Reported-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 3ee2266c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment