Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

serial: 8250_exar: Make type of bit the same in exar_ee_*_bit()

Make type of bit parameter and returned one the same in exar_ee_*_bit().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Parker Newman <pnewman@connecttech.com>
Link: https://lore.kernel.org/r/20240503171917.2921250-13-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Andy Shevchenko and committed by
Greg Kroah-Hartman
fa52ed24 3c089d7e

+1 -1
+1 -1
drivers/tty/serial/8250/8250_exar.c
··· 280 280 exar_write_reg(priv, UART_EXAR_REGB, 0x00); 281 281 } 282 282 283 - static inline void exar_ee_write_bit(struct exar8250 *priv, int bit) 283 + static inline void exar_ee_write_bit(struct exar8250 *priv, u8 bit) 284 284 { 285 285 u8 value = UART_EXAR_REGB_EECS; 286 286