public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [l1k:smsc95xx_5.17 276/886] drivers/staging/fbtft/fb_st7735r.c:189:5: warning: no previous prototype for 'variant_adafruit18'
@ 2022-04-08  6:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-08  6:57 UTC (permalink / raw)
  To: Phil Elwell; +Cc: kbuild-all, linux-kernel, Dom Cobley

tree:   https://github.com/l1k/linux smsc95xx_5.17
head:   05d68ced287b30f62f18f95b5476135ef669804a
commit: a6418ad0878bd7646203a3b02164c20a162a8110 [276/886] staging/fbtft: Add support for display variants
config: xtensa-randconfig-r033-20220408 (https://download.01.org/0day-ci/archive/20220408/202204081457.WVlGdoRe-lkp@intel.com/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/a6418ad0878bd7646203a3b02164c20a162a8110
        git remote add l1k https://github.com/l1k/linux
        git fetch --no-tags l1k smsc95xx_5.17
        git checkout a6418ad0878bd7646203a3b02164c20a162a8110
        # 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@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/staging/fbtft/fb_st7735r.c:189:5: warning: no previous prototype for 'variant_adafruit18' [-Wmissing-prototypes]
     189 | int variant_adafruit18(struct fbtft_display *display)
         |     ^~~~~~~~~~~~~~~~~~
>> drivers/staging/fbtft/fb_st7735r.c:195:5: warning: no previous prototype for 'variant_adafruit18_green' [-Wmissing-prototypes]
     195 | int variant_adafruit18_green(struct fbtft_display *display)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/variant_adafruit18 +189 drivers/staging/fbtft/fb_st7735r.c

   188	
 > 189	int variant_adafruit18(struct fbtft_display *display)
   190	{
   191		display->gamma = ADAFRUIT18_GAMMA;
   192		return 0;
   193	}
   194	
 > 195	int variant_adafruit18_green(struct fbtft_display *display)
   196	{
   197		display->gamma = ADAFRUIT18_GAMMA;
   198		display->fbtftops.set_addr_win = adafruit18_green_tab_set_addr_win;
   199		return 0;
   200	}
   201	

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

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

only message in thread, other threads:[~2022-04-08  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08  6:57 [l1k:smsc95xx_5.17 276/886] drivers/staging/fbtft/fb_st7735r.c:189:5: warning: no previous prototype for 'variant_adafruit18' 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