From: kernel test robot <lkp@intel.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [ulf-hansson-pm:psci_s2idle_deep_v3 3/9] drivers/firmware/psci/psci.c:84:13: warning: 's2idle_deep_enter' defined but not used
Date: Wed, 7 May 2025 14:42:55 +0800 [thread overview]
Message-ID: <202505071413.IG2aO4VR-lkp@intel.com> (raw)
tree: git://git.linaro.org/people/ulf.hansson/linux-pm.git psci_s2idle_deep_v3
head: dece57a7457f9f17a347fe697fb32b613e6c0c1c
commit: 4aa4d00e19ea23ea87b524a423885e3bbee1a6d4 [3/9] firmware: psci: Add debugfs for deep s2idle
config: arm64-allnoconfig (https://download.01.org/0day-ci/archive/20250507/202505071413.IG2aO4VR-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250507/202505071413.IG2aO4VR-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/202505071413.IG2aO4VR-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/firmware/psci/psci.c:84:13: warning: 's2idle_deep_enter' defined but not used [-Wunused-variable]
84 | static bool s2idle_deep_enter;
| ^~~~~~~~~~~~~~~~~
drivers/firmware/psci/psci.c:83:13: warning: 's2idle_deep' defined but not used [-Wunused-variable]
83 | static bool s2idle_deep;
| ^~~~~~~~~~~
vim +/s2idle_deep_enter +84 drivers/firmware/psci/psci.c
69
70 #define PSCI_0_2_POWER_STATE_MASK \
71 (PSCI_0_2_POWER_STATE_ID_MASK | \
72 PSCI_0_2_POWER_STATE_TYPE_MASK | \
73 PSCI_0_2_POWER_STATE_AFFL_MASK)
74
75 #define PSCI_1_0_EXT_POWER_STATE_MASK \
76 (PSCI_1_0_EXT_POWER_STATE_ID_MASK | \
77 PSCI_1_0_EXT_POWER_STATE_TYPE_MASK)
78
79 static u32 psci_cpu_suspend_feature;
80 static bool psci_system_reset2_supported;
81 static bool psci_system_off2_hibernate_supported;
82 static bool psci_system_suspend_supported;
83 static bool s2idle_deep;
> 84 static bool s2idle_deep_enter;
85
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-05-07 6:43 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=202505071413.IG2aO4VR-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ulf.hansson@linaro.org \
/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.