[l1k:smsc95xx_5.17 344/887] drivers/staging/fbtft/fb_st7789v.c:418:5: warning: no previous prototype for 'variant_minipitft13'

From: kernel test robot
Date: Fri Apr 08 2022 - 03:50:14 EST


tree: https://github.com/l1k/linux smsc95xx_5.17
head: 05d68ced287b30f62f18f95b5476135ef669804a
commit: 7997fb3ca8c6a8db601b0352840394c046bb179b [344/887] staging: fbtft: Add minipitft13 variant
config: xtensa-randconfig-r033-20220408 (https://download.01.org/0day-ci/archive/20220408/202204081548.vMqZ6gXI-lkp@xxxxxxxxx/config)
compiler: xtensa-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/7997fb3ca8c6a8db601b0352840394c046bb179b
git remote add l1k https://github.com/l1k/linux
git fetch --no-tags l1k smsc95xx_5.17
git checkout 7997fb3ca8c6a8db601b0352840394c046bb179b
# 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=xtensa SHELL=/bin/bash drivers/staging/fbtft/

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/staging/fbtft/fb_st7789v.c:418:5: warning: no previous prototype for 'variant_minipitft13' [-Wmissing-prototypes]
418 | int variant_minipitft13(struct fbtft_display *display)
| ^~~~~~~~~~~~~~~~~~~


vim +/variant_minipitft13 +418 drivers/staging/fbtft/fb_st7789v.c

417
> 418 int variant_minipitft13(struct fbtft_display *display)
419 {
420 display->fbtftops.set_addr_win = minipitft13_set_addr_win;
421 return 0;
422 }
423

--
0-DAY CI Kernel Test Service
https://01.org/lkp