dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Brajesh Gupta <brajesh.gupta@imgtec.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	dri-devel@lists.freedesktop.org,
	Matt Coster <matt.coster@imgtec.com>
Subject: [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
Date: Wed, 20 May 2026 13:22:34 +0800	[thread overview]
Message-ID: <202605201342.BrTzQUAE-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-05-20  5:24 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=202605201342.BrTzQUAE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=brajesh.gupta@imgtec.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=llvm@lists.linux.dev \
    --cc=matt.coster@imgtec.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox