Linux Serial subsystem development
 help / color / mirror / Atom feed
* [tty:tty-testing 32/41] drivers/tty/serial/8250/8250_hub6.c:44:6: warning: no previous prototype for function 'hub6_match_port'
@ 2026-07-11  4:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-11  4:23 UTC (permalink / raw)
  To: Hugo Villeneuve; +Cc: oe-kbuild-all, linux-serial, Greg Kroah-Hartman

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: i386-randconfig-053 (https://download.01.org/0day-ci/archive/20260711/202607111219.QG9uOW8H-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/202607111219.QG9uOW8H-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607111219.QG9uOW8H-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/tty/serial/8250/8250_hub6.c:44:6: warning: no previous prototype for function 'hub6_match_port' [-Wmissing-prototypes]
      44 | bool hub6_match_port(const struct uart_port *port1, const struct uart_port *port2)
         |      ^
   drivers/tty/serial/8250/8250_hub6.c:44:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
      44 | bool hub6_match_port(const struct uart_port *port1, const struct uart_port *port2)
         | ^
         | static 
   1 warning generated.


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-11  4:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-11  4:23 [tty:tty-testing 32/41] drivers/tty/serial/8250/8250_hub6.c:44:6: warning: no previous prototype for function 'hub6_match_port' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox