All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: sofus <sofus.c@icloud.com>
Cc: oe-kbuild-all@lists.linux.dev, Janne Grunau <j@jannau.net>
Subject: [asahilinux:bits/240-isp 55/71] drivers/media/platform/apple/avd/avd-drv.c:692:12: warning: 'avd_runtime_suspend' defined but not used
Date: Thu, 13 Aug 2026 15:46:07 +0800	[thread overview]
Message-ID: <202608131522.q7eTEdiB-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-08-13  7:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202608131522.q7eTEdiB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=j@jannau.net \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=sofus.c@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.