All of lore.kernel.org
 help / color / mirror / Atom feed
* [esmil:visionfive 53/59] drivers/gpu/drm/starfive/starfive_drm_gem.c:17:42: warning: 'mmap_mem_ops' defined but not used
@ 2023-08-21  9:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-21  9:56 UTC (permalink / raw)
  To: sw.multimedia
  Cc: oe-kbuild-all, Emil Renner Berthing, jack.zhu, keith.zhao,
	Geert Uytterhoeven, José Expósito

tree:   https://github.com/esmil/linux visionfive
head:   a6b7b4fc1e5719be8b5897f31b9326100f945d51
commit: cd449db0cf6e75db28c9fcefc5a588d39265c167 [53/59] drm/starfive: Add StarFive drm driver
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20230821/202308211751.mGGf4GC1-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230821/202308211751.mGGf4GC1-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308211751.mGGf4GC1-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/starfive/starfive_drm_gem.c:17:42: warning: 'mmap_mem_ops' defined but not used [-Wunused-const-variable=]
      17 | static const struct vm_operations_struct mmap_mem_ops = {
         |                                          ^~~~~~~~~~~~


vim +/mmap_mem_ops +17 drivers/gpu/drm/starfive/starfive_drm_gem.c

    15	
    16	static const struct drm_gem_object_funcs starfive_gem_object_funcs;
  > 17	static const struct vm_operations_struct mmap_mem_ops = {
    18	#ifdef CONFIG_HAVE_IOREMAP_PROT
    19		.access = generic_access_phys
    20	#endif
    21	};
    22	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-21  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-21  9:56 [esmil:visionfive 53/59] drivers/gpu/drm/starfive/starfive_drm_gem.c:17:42: warning: 'mmap_mem_ops' defined but not used 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.