Commit dbc53971 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix endian issues found by sparse in mct_u232 driver

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 4e0b3a43
......@@ -236,7 +236,7 @@ static int mct_u232_calculate_baud_rate(struct usb_serial *serial, int value) {
static int mct_u232_set_baud_rate(struct usb_serial *serial, int value)
{
unsigned int divisor;
__le32 divisor;
int rc;
unsigned char zero_byte = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment