[l1k:rs485_fixes 2/5] drivers/tty/serial/8250/8250_alpha.c:6:6: warning: no previous prototype for 'alpha_jensen_machine'

From: kernel test robot
Date: Sat Dec 25 2021 - 15:58:05 EST


tree: https://github.com/l1k/linux rs485_fixes
head: a62f8fcb06b22e357034ec7dc1835d5e54f62aee
commit: ede7cb8cc196acdc42e495e9805291b8d5190468 [2/5] serial: 8250: Move Alpha-specific quirk out of the core
config: alpha-defconfig (https://download.01.org/0day-ci/archive/20211226/202112260407.JHmHBph5-lkp@xxxxxxxxx/config)
compiler: alpha-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://github.com/l1k/linux/commit/ede7cb8cc196acdc42e495e9805291b8d5190468
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k rs485_fixes
git checkout ede7cb8cc196acdc42e495e9805291b8d5190468
# 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=alpha SHELL=/bin/bash drivers/tty/serial/8250/

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

All warnings (new ones prefixed by >>):

>> drivers/tty/serial/8250/8250_alpha.c:6:6: warning: no previous prototype for 'alpha_jensen_machine' [-Wmissing-prototypes]
6 | bool alpha_jensen_machine(void)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/tty/serial/8250/8250_alpha.c:11:6: warning: no previous prototype for 'alpha_jensen_set_mctrl' [-Wmissing-prototypes]
11 | void alpha_jensen_set_mctrl(struct uart_port *port, unsigned int mctrl)
| ^~~~~~~~~~~~~~~~~~~~~~


vim +/alpha_jensen_machine +6 drivers/tty/serial/8250/8250_alpha.c

5
> 6 bool alpha_jensen_machine(void)
7 {
8 return !strcmp(alpha_mv.vector_name, "Jensen");
9 }
10
> 11 void alpha_jensen_set_mctrl(struct uart_port *port, unsigned int mctrl)

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