linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 9800/11394] drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c:574:33: error: unused function 'pdev_to_xe_device'
@ 2024-03-03 17:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-03 17:47 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: llvm, oe-kbuild-all, Linux Memory Management List, Matthew Auld

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   1870cdc0e8dee32e3c221704a2977898ba4c10e8
commit: 3f0e14651ab0ca340c4b6f77b2ea615605fcf8f8 [9800/11394] drm/xe: Runtime PM wake on every sysfs call
config: x86_64-randconfig-076-20240303 (https://download.01.org/0day-ci/archive/20240304/202403040112.jDE7nwFC-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240304/202403040112.jDE7nwFC-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/202403040112.jDE7nwFC-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c:574:33: error: unused function 'pdev_to_xe_device' [-Werror,-Wunused-function]
     574 | static inline struct xe_device *pdev_to_xe_device(struct pci_dev *pdev)
         |                                 ^~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c:579:33: error: unused function 'to_xe_device' [-Werror,-Wunused-function]
     579 | static inline struct xe_device *to_xe_device(const struct drm_device *dev)
         |                                 ^~~~~~~~~~~~
   2 errors generated.


vim +/pdev_to_xe_device +574 drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c

   573	
 > 574	static inline struct xe_device *pdev_to_xe_device(struct pci_dev *pdev)
   575	{
   576		return pci_get_drvdata(pdev);
   577	}
   578	
 > 579	static inline struct xe_device *to_xe_device(const struct drm_device *dev)
   580	{
   581		return container_of(dev, struct xe_device, drm);
   582	}
   583	

-- 
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:[~2024-03-03 17:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-03 17:47 [linux-next:master 9800/11394] drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c:574:33: error: unused function 'pdev_to_xe_device' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox