Re: [tty:tty-testing 204/226] drivers/tty/serial/uartlite.c:348:21: warning: assignment discards 'const' qualifier from pointer target type

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

 



On Sun, Mar 06, 2016 at 09:08:32AM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
> head:   6bd6361a9b1e112d0acd684a1d297d4b37415dd5
> commit: ce807d8eea1390f5277c3ce8937b922668e0bb77 [204/226] serial-uartlite: Constify uartlite_be/uartlite_le
> config: i386-randconfig-s0-201610 (attached as .config)
> reproduce:
>         git checkout ce807d8eea1390f5277c3ce8937b922668e0bb77
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/tty/serial/uartlite.c: In function 'ulite_request_port':
> >> drivers/tty/serial/uartlite.c:348:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>      port->private_data = &uartlite_be;
>                         ^
>    drivers/tty/serial/uartlite.c:354:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>       port->private_data = &uartlite_le;
>                          ^

I've dropped this patch now.
--
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