Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, intel-xe@lists.freedesktop.org,
	Jonathan Cavitt <jonathan.cavitt@intel.com>
Subject: [drm-xe:drm-xe-next 3/4] drivers/gpu/drm/xe/xe_pm.c:606:26: error: 'struct dev_pm_info' has no member named 'runtime_status'
Date: Sat, 7 Sep 2024 15:58:15 +0800	[thread overview]
Message-ID: <202409071530.6dcOf16E-lkp@intel.com> (raw)

tree:   https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
head:   0c841e47d8d94bd0f5444a25052d86c0b1f2c2e8
commit: cb85e39dc5d1717fab82810984cce0e54712a3c2 [3/4] drm/xe: Suppress missing outer rpm protection warning
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20240907/202409071530.6dcOf16E-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240907/202409071530.6dcOf16E-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/202409071530.6dcOf16E-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/xe/xe_pm.c: In function 'xe_pm_suspending_or_resuming':
>> drivers/gpu/drm/xe/xe_pm.c:606:26: error: 'struct dev_pm_info' has no member named 'runtime_status'
     606 |         return dev->power.runtime_status == RPM_SUSPENDING ||
         |                          ^
   drivers/gpu/drm/xe/xe_pm.c:607:27: error: 'struct dev_pm_info' has no member named 'runtime_status'
     607 |                 dev->power.runtime_status == RPM_RESUMING;
         |                           ^
>> drivers/gpu/drm/xe/xe_pm.c:608:1: warning: control reaches end of non-void function [-Wreturn-type]
     608 | }
         | ^


vim +606 drivers/gpu/drm/xe/xe_pm.c

   597	
   598	/*
   599	 * Very unreliable! Should only be used to suppress the false positive case
   600	 * in the missing outer rpm protection warning.
   601	 */
   602	static bool xe_pm_suspending_or_resuming(struct xe_device *xe)
   603	{
   604		struct device *dev = xe->drm.dev;
   605	
 > 606		return dev->power.runtime_status == RPM_SUSPENDING ||
   607			dev->power.runtime_status == RPM_RESUMING;
 > 608	}
   609	

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

                 reply	other threads:[~2024-09-07  7:58 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=202409071530.6dcOf16E-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jonathan.cavitt@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rodrigo.vivi@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox