]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
serial, x86: use UPF_* constants for flags
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 11 Mar 2015 11:52:53 +0000 (13:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Mar 2015 13:01:17 +0000 (14:01 +0100)
commit079119a2c7c83506ad753e7b95e9ed253e9963f9
tree77a6d542a8e617593071f58a226c01d2e1762c7b
parent12fe59f975b9b36a17eced4c4d33911ee9bc9f7a
serial, x86: use UPF_* constants for flags

This patch fixes the following sparse warnings:

drivers/tty/serial/8250/8250_core.c:3231:32: warning: incorrect type in assignment (different base types)
drivers/tty/serial/8250/8250_core.c:3231:32:    expected restricted upf_t [usertype] flags
drivers/tty/serial/8250/8250_core.c:3231:32:    got unsigned int const [unsigned] flags

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/serial.h
drivers/tty/serial/8250/8250.h