[tty:tty-testing 32/41] drivers/tty/serial/8250/8250_hub6.c:44:6: warning: no previous prototype for 'hub6_match_port'

kernel test robot <[email protected]>
Newsgroups org.kernel.vger.linux-serial,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
head:   bef5e068b89b0f0cf974c987ebba9869a14b44c6
commit: 3d406299d8829747fe2e8692f4c29fe3dc1d101f [32/41] serial: 8250_hub6: add hub6_match_port()
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20260711/[email protected]/config)
compiler: hppa-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/tty/serial/8250/8250_hub6.c:44:6: warning: no previous prototype for 'hub6_match_port' [-Wmissing-prototypes]
      44 | bool hub6_match_port(const struct uart_port *port1, const struct uart_port *port2)
         |      ^~~~~~~~~~~~~~~


vim +/hub6_match_port +44 drivers/tty/serial/8250/8250_hub6.c

    43	
  > 44	bool hub6_match_port(const struct uart_port *port1, const struct uart_port *port2)
    45	{
    46		return port1->iobase == port2->iobase && port1->hub6 == port2->hub6;
    47	}
    48	EXPORT_SYMBOL_GPL(hub6_match_port);
    49	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.