[PATCH] fbdev: efifb: do not load efifb if PCI BAR has changed but not fixuped

kernel test robot lkp at intel.com
Thu Jun 26 21:27:55 UTC 2025


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v6.16-rc3 next-20250626]
[cannot apply to drm-misc/drm-misc-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/oushixiong1025-163-com/fbdev-efifb-do-not-load-efifb-if-PCI-BAR-has-changed-but-not-fixuped/20250626-175111
base:   linus/master
patch link:    https://lore.kernel.org/r/20250626094937.515552-1-oushixiong1025%40163.com
patch subject: [PATCH] fbdev: efifb: do not load efifb if PCI BAR has changed but not fixuped
config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20250627/202506270558.awnEnyeN-lkp@intel.com/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project e04c938cc08a90ae60440ce22d072ebc69d67ee8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250627/202506270558.awnEnyeN-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506270558.awnEnyeN-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from init/main.c:110:
   In file included from arch/arm/include/asm/setup.h:14:
>> include/linux/screen_info.h:145:6: warning: no previous prototype for function 'screen_info_is_useful' [-Wmissing-prototypes]
     145 | bool screen_info_is_useful(void)
         |      ^
   include/linux/screen_info.h:145:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     145 | bool screen_info_is_useful(void)
         | ^
         | static 
   1 warning generated.


vim +/screen_info_is_useful +145 include/linux/screen_info.h

   139	
   140	#if defined(CONFIG_PCI)
   141	bool screen_info_is_useful(void);
   142	void screen_info_apply_fixups(void);
   143	struct pci_dev *screen_info_pci_dev(const struct screen_info *si);
   144	#else
 > 145	bool screen_info_is_useful(void)
   146	{
   147		return true;
   148	}
   149	static inline void screen_info_apply_fixups(void)
   150	{ }
   151	static inline struct pci_dev *screen_info_pci_dev(const struct screen_info *si)
   152	{
   153		return NULL;
   154	}
   155	#endif
   156	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


More information about the dri-devel mailing list