From: kernel test robot <lkp@intel.com>
To: Phil Elwell <phil@raspberrypi.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Dom Cobley <popcornmix@gmail.com>
Subject: [l1k:smsc95xx_5.17 276/886] drivers/staging/fbtft/fb_st7735r.c:189:5: warning: no previous prototype for 'variant_adafruit18'
Date: Fri, 8 Apr 2022 14:57:12 +0800 [thread overview]
Message-ID: <202204081457.WVlGdoRe-lkp@intel.com> (raw)
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
reply other threads:[~2022-04-08 6:57 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=202204081457.WVlGdoRe-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phil@raspberrypi.com \
--cc=popcornmix@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox