All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Lukas Wunner <lukas@wunner.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [l1k:rpi-6.2.y-await-linktraining 360/583] drivers/staging/fbtft/fb_st7789v.c:418:5: warning: no previous prototype for function 'variant_minipitft13'
Date: Mon, 27 Feb 2023 20:18:17 +0800	[thread overview]
Message-ID: <202302272037.dem1junz-lkp@intel.com> (raw)

tree:   https://github.com/l1k/linux rpi-6.2.y-await-linktraining
head:   f3a9201f7f484c1295cdec53c1b9bd2a19ffb231
commit: 182e7c31deae6bddfa476bacb751203fab0e65a0 [360/583] staging: fbtft: Add minipitft13 variant
config: i386-randconfig-r035-20230227 (https://download.01.org/0day-ci/archive/20230227/202302272037.dem1junz-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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/182e7c31deae6bddfa476bacb751203fab0e65a0
        git remote add l1k https://github.com/l1k/linux
        git fetch --no-tags l1k rpi-6.2.y-await-linktraining
        git checkout 182e7c31deae6bddfa476bacb751203fab0e65a0
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/staging/fbtft/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202302272037.dem1junz-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/staging/fbtft/fb_st7789v.c:418:5: warning: no previous prototype for function 'variant_minipitft13' [-Wmissing-prototypes]
   int variant_minipitft13(struct fbtft_display *display)
       ^
   drivers/staging/fbtft/fb_st7789v.c:418:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int variant_minipitft13(struct fbtft_display *display)
   ^
   static 
   1 warning generated.


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://github.com/intel/lkp-tests

                 reply	other threads:[~2023-02-27 12:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202302272037.dem1junz-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=lukas@wunner.de \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.