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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202403040112.jDE7nwFC-lkp@xxxxxxxxx/ 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