Re: [PATCH v1 1/1] serial, x86: use UPF_* constants for flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2015-03-11 at 14:02 +0100, Greg Kroah-Hartman wrote:
> On Wed, Mar 11, 2015 at 01:52:53PM +0200, Andy Shevchenko wrote:
> > 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@xxxxxxxxxxxxxxx>
> > ---
> >  arch/x86/include/asm/serial.h  | 8 ++++----
> >  drivers/tty/serial/8250/8250.h | 2 +-
> >  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> Nice, but can you send a follow-on patch for the other arches that also
> will have this issue?

There is no other issues. All users of that define and struct
old_serial_port are already converted. This one was the last if I didn't
miss anything.

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
Intel Finland Oy

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux