All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [chrome-os:chromeos-6.6 79/79] drivers/soc/mediatek/apusys/power/mtk_aputop_drv.c:45:12: warning: 'aputop_pwr_off_rpm_cb' defined but not used
Date: Sat, 25 Apr 2026 12:02:14 +0800	[thread overview]
Message-ID: <202604251116.oJRBeEbm-lkp@intel.com> (raw)

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-6.6
head:   3730da93290a5c1ed5e0d04b0dd5247e9a2e638c
commit: 537ddfa311d27daf0946b09f715747700a0b8671 [79/79] CHROMIUM: mediatek: NPU power control modification
config: arm-randconfig-r054-20260425 (https://download.01.org/0day-ci/archive/20260425/202604251116.oJRBeEbm-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260425/202604251116.oJRBeEbm-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/202604251116.oJRBeEbm-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/soc/mediatek/apusys/power/mtk_aputop_drv.c:45:12: warning: 'aputop_pwr_off_rpm_cb' defined but not used [-Wunused-function]
      45 | static int aputop_pwr_off_rpm_cb(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~
>> drivers/soc/mediatek/apusys/power/mtk_aputop_drv.c:36:12: warning: 'aputop_pwr_on_rpm_cb' defined but not used [-Wunused-function]
      36 | static int aputop_pwr_on_rpm_cb(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~


vim +/aputop_pwr_off_rpm_cb +45 drivers/soc/mediatek/apusys/power/mtk_aputop_drv.c

    35	
  > 36	static int aputop_pwr_on_rpm_cb(struct device *dev)
    37	{
    38		int ret = 0;
    39		const struct apupwr_plat_data *pwr_data = of_device_get_match_data(dev);
    40	
    41		ret =  pwr_data->plat_aputop_on(dev);
    42		return ret;
    43	}
    44	
  > 45	static int aputop_pwr_off_rpm_cb(struct device *dev)
    46	{
    47		int ret = 0;
    48		const struct apupwr_plat_data *pwr_data = of_device_get_match_data(dev);
    49	
    50		ret = pwr_data->plat_aputop_off(dev);
    51		return ret;
    52	}
    53	

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

                 reply	other threads:[~2026-04-25  4:03 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=202604251116.oJRBeEbm-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.