[tty:tty-testing 114/127] drivers/tty/serial/8250/8250_core.c:2481:6: sparse: symbol 'serial8250_set_divisor' was not declared. Should it be static?

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

 



tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
head:   f59239c97c69e438772b8c059dce41ab5b26a6dc
commit: bdc6f7b3d0f9258ae04083a2df41737265b62025 [114/127] serial: 8250: Refactor divisor programming
reproduce:
  # apt-get install sparse
  git checkout bdc6f7b3d0f9258ae04083a2df41737265b62025
  make ARCH=x86_64 allmodconfig
  make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/tty/serial/8250/8250_core.c:2481:6: sparse: symbol 'serial8250_set_divisor' was not declared. Should it be static?
   drivers/tty/serial/8250/8250_core.c:3171:32: sparse: incorrect type in assignment (different base types)
   drivers/tty/serial/8250/8250_core.c:3171:32:    expected restricted upf_t [usertype] flags
   drivers/tty/serial/8250/8250_core.c:3171:32:    got unsigned int const [unsigned] flags
   drivers/tty/serial/8250/8250_core.c:3851:1: sparse: symbol '__UNIQUE_ID_alias__COUNTER__' has multiple initializers (originally initialized at drivers/tty/serial/8250/8250_core.c:3822)

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
--
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