* [asahilinux:bits/240-isp 55/71] drivers/media/platform/apple/avd/avd-drv.c:692:12: warning: 'avd_runtime_suspend' defined but not used
@ 2026-08-13 7:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-13 7:46 UTC (permalink / raw)
To: sofus; +Cc: oe-kbuild-all, Janne Grunau
Hi sofus,
FYI, the error/warning still remains.
tree: https://github.com/AsahiLinux/linux bits/240-isp
head: adec89957b4232b3d33188245114b9e640f72de6
commit: 9d77b27426e338bbf4f4df0676c1e064e046527e [55/71] media: apple: add avd driver
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260813/202608131522.q7eTEdiB-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/202608131522.q7eTEdiB-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/202608131522.q7eTEdiB-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/platform/apple/avd/avd-drv.c:692:12: warning: 'avd_runtime_suspend' defined but not used [-Wunused-function]
692 | static int avd_runtime_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/apple/avd/avd-drv.c:681:12: warning: 'avd_runtime_resume' defined but not used [-Wunused-function]
681 | static int avd_runtime_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~
vim +/avd_runtime_suspend +692 drivers/media/platform/apple/avd/avd-drv.c
680
> 681 static int avd_runtime_resume(struct device *dev)
682 {
683 int ret;
684 struct avd_dev *avd = platform_get_drvdata(to_platform_device(dev));
685
686 ret = avd_boot(avd);
687 if (ret)
688 dev_err(dev, "failed to boot");
689 return ret;
690 }
691
> 692 static int avd_runtime_suspend(struct device *dev)
693 {
694 struct avd_dev *avd = platform_get_drvdata(to_platform_device(dev));
695
696 avd_shutdown(avd);
697 return 0;
698 }
699
--
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:[~2026-08-13 7:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 7:46 [asahilinux:bits/240-isp 55/71] drivers/media/platform/apple/avd/avd-drv.c:692:12: warning: 'avd_runtime_suspend' 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.