From: kernel test robot <lkp@intel.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: drivers/video/fbdev/core/fbcon.c:106:16: sparse: sparse: symbol 'fbcon_registered_fb' was not declared. Should it be static?
Date: Sat, 28 May 2022 12:29:27 +0800 [thread overview]
Message-ID: <202205281235.rdumodzg-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a9f94826e4bb6402e67f3eb849dee0811f1de6da
commit: efc3acbc105af79bce2ccf97a6159255b7cf6b38 fbcon: Maintain a private array of fb_info
date: 7 weeks ago
config: ia64-randconfig-s031-20220524 (https://download.01.org/0day-ci/archive/20220528/202205281235.rdumodzg-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-14-g5a0004b5-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=efc3acbc105af79bce2ccf97a6159255b7cf6b38
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout efc3acbc105af79bce2ccf97a6159255b7cf6b38
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/video/fbdev/core/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/video/fbdev/core/fbcon.c:106:16: sparse: sparse: symbol 'fbcon_registered_fb' was not declared. Should it be static?
>> drivers/video/fbdev/core/fbcon.c:107:5: sparse: sparse: symbol 'fbcon_num_registered_fb' was not declared. Should it be static?
vim +/fbcon_registered_fb +106 drivers/video/fbdev/core/fbcon.c
105
> 106 struct fb_info *fbcon_registered_fb[FB_MAX];
> 107 int fbcon_num_registered_fb;
108
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-28 4:29 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=202205281235.rdumodzg-lkp@intel.com \
--to=lkp@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®