All of lore.kernel.org
 help / color / mirror / Atom feed
* [jirislaby:devel 10/31] drivers/tty/serial/sunzilog.c:103:13: warning: 'sunzilog_putchar' used but never defined
@ 2022-01-18 17:19 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-18 17:19 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   0ecc0cdeaabd6b08ef3ec6dfaf724139031c00b8
commit: 2258e16ea4fe67f9700294b439b7aa1669aef643 [10/31] serial: make uart_console_write->putchar's character a char
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20220119/202201190151.92tNhDTm-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=2258e16ea4fe67f9700294b439b7aa1669aef643
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout 2258e16ea4fe67f9700294b439b7aa1669aef643
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash drivers/tty/serial/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/tty/serial/sunzilog.c:1128:28: error: conflicting types for 'sunzilog_putchar'; have 'void(struct uart_port *, char)'
    1128 | static void __maybe_unused sunzilog_putchar(struct uart_port *port, char ch)
         |                            ^~~~~~~~~~~~~~~~
   drivers/tty/serial/sunzilog.c:103:13: note: previous declaration of 'sunzilog_putchar' with type 'void(struct uart_port *, int)'
     103 | static void sunzilog_putchar(struct uart_port *port, int ch);
         |             ^~~~~~~~~~~~~~~~
>> drivers/tty/serial/sunzilog.c:103:13: warning: 'sunzilog_putchar' used but never defined


vim +/sunzilog_putchar +103 drivers/tty/serial/sunzilog.c

^1da177e4c3f41 drivers/serial/sunzilog.c Linus Torvalds 2005-04-16  102  
6d45a1aed34b0c drivers/serial/sunzilog.c Jason Wessel   2010-05-20 @103  static void sunzilog_putchar(struct uart_port *port, int ch);
6d45a1aed34b0c drivers/serial/sunzilog.c Jason Wessel   2010-05-20  104  

:::::: The code at line 103 was first introduced by commit
:::::: 6d45a1aed34b0cd7b298967eb9cb72b77afcb33b sparc,sunzilog: Add console polling support for sunzilog serial driver

:::::: TO: Jason Wessel <jason.wessel@windriver.com>
:::::: CC: Jason Wessel <jason.wessel@windriver.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [jirislaby:devel 10/31] drivers/tty/serial/sunzilog.c:103:13: warning: 'sunzilog_putchar' used but never defined
@ 2022-01-18 17:19 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-18 17:19 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2678 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   0ecc0cdeaabd6b08ef3ec6dfaf724139031c00b8
commit: 2258e16ea4fe67f9700294b439b7aa1669aef643 [10/31] serial: make uart_console_write->putchar's character a char
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20220119/202201190151.92tNhDTm-lkp(a)intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=2258e16ea4fe67f9700294b439b7aa1669aef643
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout 2258e16ea4fe67f9700294b439b7aa1669aef643
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc SHELL=/bin/bash drivers/tty/serial/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/tty/serial/sunzilog.c:1128:28: error: conflicting types for 'sunzilog_putchar'; have 'void(struct uart_port *, char)'
    1128 | static void __maybe_unused sunzilog_putchar(struct uart_port *port, char ch)
         |                            ^~~~~~~~~~~~~~~~
   drivers/tty/serial/sunzilog.c:103:13: note: previous declaration of 'sunzilog_putchar' with type 'void(struct uart_port *, int)'
     103 | static void sunzilog_putchar(struct uart_port *port, int ch);
         |             ^~~~~~~~~~~~~~~~
>> drivers/tty/serial/sunzilog.c:103:13: warning: 'sunzilog_putchar' used but never defined


vim +/sunzilog_putchar +103 drivers/tty/serial/sunzilog.c

^1da177e4c3f41 drivers/serial/sunzilog.c Linus Torvalds 2005-04-16  102  
6d45a1aed34b0c drivers/serial/sunzilog.c Jason Wessel   2010-05-20 @103  static void sunzilog_putchar(struct uart_port *port, int ch);
6d45a1aed34b0c drivers/serial/sunzilog.c Jason Wessel   2010-05-20  104  

:::::: The code at line 103 was first introduced by commit
:::::: 6d45a1aed34b0cd7b298967eb9cb72b77afcb33b sparc,sunzilog: Add console polling support for sunzilog serial driver

:::::: TO: Jason Wessel <jason.wessel@windriver.com>
:::::: CC: Jason Wessel <jason.wessel@windriver.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-18 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 17:19 [jirislaby:devel 10/31] drivers/tty/serial/sunzilog.c:103:13: warning: 'sunzilog_putchar' used but never defined kernel test robot
2022-01-18 17:19 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.