All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 2026-04-25  4:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-25  4:02 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-25  4:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25  4:02 [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 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.