From: kernel test robot <lkp@intel.com>
To: Helge Deller <deller@gmx.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: drivers/video/console/sticore.c:1132:5: error: redefinition of 'fb_is_primary_device'
Date: Tue, 7 Jun 2022 11:37:47 +0800 [thread overview]
Message-ID: <202206071130.gOM8ootu-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e71e60cd74df9386c3f684c54888f2367050b831
commit: cf936af790a3ef5f41ff687ec91bfbffee141278 parisc/stifb: Implement fb_is_primary_device()
date: 3 days ago
config: parisc-randconfig-r012-20220606 (https://download.01.org/0day-ci/archive/20220607/202206071130.gOM8ootu-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 11.3.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cf936af790a3ef5f41ff687ec91bfbffee141278
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cf936af790a3ef5f41ff687ec91bfbffee141278
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash drivers/video/console/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/video/console/sticore.c:1132:5: error: redefinition of 'fb_is_primary_device'
1132 | int fb_is_primary_device(struct fb_info *info)
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/video/console/sticore.c:33:
arch/parisc/include/asm/fb.h:18:19: note: previous definition of 'fb_is_primary_device' with type 'int(struct fb_info *)'
18 | static inline int fb_is_primary_device(struct fb_info *info)
| ^~~~~~~~~~~~~~~~~~~~
vim +/fb_is_primary_device +1132 drivers/video/console/sticore.c
1130
1131 /* check if given fb_info is the primary device */
> 1132 int fb_is_primary_device(struct fb_info *info)
1133 {
1134 struct sti_struct *sti;
1135
1136 sti = sti_get_rom(0);
1137
1138 /* if no built-in graphics card found, allow any fb driver as default */
1139 if (!sti)
1140 return true;
1141
1142 /* return true if it's the default built-in framebuffer driver */
1143 return (sti->info == info);
1144 }
1145 EXPORT_SYMBOL(fb_is_primary_device);
1146
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-07 3:39 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=202206071130.gOM8ootu-lkp@intel.com \
--to=lkp@intel.com \
--cc=deller@gmx.de \
--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