lkml.org 
[lkml]   [2015]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 4/5] serial/8250_fintek: Support keys different than default
On 06/16/2015, 10:41 AM, Ricardo Ribalda Delgado wrote:
> @@ -148,20 +148,25 @@ static int fintek_8250_rs485_config(struct uart_port *port,
> return 0;
> }
>
> -static int fintek_8250_base_port(void)
> +static int fintek_8250_base_port(u8 *key)
> {
> static const u16 addr[] = {0x4e, 0x2e};
> - int i;
> + static const u16 keys[] = {0x77, 0xa0, 0x87, 0x67};

Hi, given keys are treated as u8 everywhere, this should be u8 too.

regards,
--
js
suse labs


\
 
 \ /
  Last update: 2015-06-16 11:21    [W:0.028 / U:1.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site