* [drm-misc:for-linux-next 3/5] drivers/gpu/drm/imagination/pvr_power.c:382:44: error: too few arguments to function call, expected 3, have 2
@ 2026-05-20 5:22 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-20 5:22 UTC (permalink / raw)
To: Brajesh Gupta; +Cc: llvm, oe-kbuild-all, dri-devel, Matt Coster
tree: https://gitlab.freedesktop.org/drm/misc/kernel.git for-linux-next
head: c1079aebb4de218caa86c44f9a53700d1a582683
commit: 42577ba79fbfbc6c2f246d523cb22a66329d4826 [3/5] drm/imagination: Rename FW booted to FW initialised
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20260520/202605201342.BrTzQUAE-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260520/202605201342.BrTzQUAE-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/202605201342.BrTzQUAE-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/imagination/pvr_power.c:382:44: error: too few arguments to function call, expected 3, have 2
382 | err = pvr_power_fw_disable(pvr_dev, false);
| ~~~~~~~~~~~~~~~~~~~~ ^
drivers/gpu/drm/imagination/pvr_power.c:93:1: note: 'pvr_power_fw_disable' declared here
93 | pvr_power_fw_disable(struct pvr_device *pvr_dev, bool hard_reset, bool rpm_suspend)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/imagination/pvr_power.c:412:36: error: too few arguments to function call, expected 2, have 1
412 | err = pvr_power_fw_enable(pvr_dev);
| ~~~~~~~~~~~~~~~~~~~ ^
drivers/gpu/drm/imagination/pvr_power.c:122:1: note: 'pvr_power_fw_enable' declared here
122 | pvr_power_fw_enable(struct pvr_device *pvr_dev, bool rpm_resume)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
vim +382 drivers/gpu/drm/imagination/pvr_power.c
368
369 int
370 pvr_power_device_suspend(struct device *dev)
371 {
372 struct platform_device *plat_dev = to_platform_device(dev);
373 struct drm_device *drm_dev = platform_get_drvdata(plat_dev);
374 struct pvr_device *pvr_dev = to_pvr_device(drm_dev);
375 int err = 0;
376 int idx;
377
378 if (!drm_dev_enter(drm_dev, &idx))
379 return -EIO;
380
381 if (pvr_dev->fw_dev.initialised) {
> 382 err = pvr_power_fw_disable(pvr_dev, false);
383 if (err)
384 goto err_drm_dev_exit;
385 }
386
387 err = pvr_dev->device_data->pwr_ops->power_off(pvr_dev);
388
389 err_drm_dev_exit:
390 drm_dev_exit(idx);
391
392 return err;
393 }
394
--
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-05-20 5:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20 5:22 [drm-misc:for-linux-next 3/5] drivers/gpu/drm/imagination/pvr_power.c:382:44: error: too few arguments to function call, expected 3, have 2 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox