All of lore.kernel.org
 help / color / mirror / Atom feed
* [deller-fbdev:fb-fixes 1/5] drivers/video/console/sticore.c:1131:5: warning: no previous prototype for 'fb_is_primary_device'
@ 2022-06-03  1:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-06-03  1:28 UTC (permalink / raw)
  To: Helge Deller; +Cc: kbuild-all, linux-kernel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git fb-fixes
head:   d92f129b594fe3eebf2f7abfffea2e6dbdc5936c
commit: f1a3b3c2b5b1b846963ffa5b4fddfaf8c9a4c985 [1/5] parisc/stifb: Implement fb_is_primary_device()
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20220603/202206030949.FluWpZnn-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/deller/linux-fbdev.git/commit/?id=f1a3b3c2b5b1b846963ffa5b4fddfaf8c9a4c985
        git remote add deller-fbdev git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git
        git fetch --no-tags deller-fbdev fb-fixes
        git checkout f1a3b3c2b5b1b846963ffa5b4fddfaf8c9a4c985
        # 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 warnings (new ones prefixed by >>):

>> drivers/video/console/sticore.c:1131:5: warning: no previous prototype for 'fb_is_primary_device' [-Wmissing-prototypes]
    1131 | int fb_is_primary_device(struct fb_info *info)
         |     ^~~~~~~~~~~~~~~~~~~~


vim +/fb_is_primary_device +1131 drivers/video/console/sticore.c

  1129	
  1130	/* check if given fb_info is the primary device */
> 1131	int fb_is_primary_device(struct fb_info *info)
  1132	{
  1133		struct sti_struct *sti;
  1134	
  1135		sti = sti_get_rom(0);
  1136	
  1137		/* if no built-in graphics card found, allow any fb driver as default */
  1138		if (!sti)
  1139			return true;
  1140	
  1141		/* return true if it's the default built-in framebuffer driver */
  1142		return (sti->info == info);
  1143	}
  1144	EXPORT_SYMBOL(fb_is_primary_device);
  1145	

-- 
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-06-03  1:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-03  1:28 [deller-fbdev:fb-fixes 1/5] drivers/video/console/sticore.c:1131:5: warning: no previous prototype for 'fb_is_primary_device' kernel test robot

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.