From: kernel test robot <lkp@intel.com>
To: Samuel Kayode via B4 Relay
<devnull+samuel.kayode.savoirfairelinux.com@kernel.org>,
Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Sebastian Reichel <sre@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
linux-pm@vger.kernel.org,
Samuel Kayode <samuel.kayode@savoirfairelinux.com>,
eballetbo@gmail.com, abelvesa@linux.com, b38343@freescale.com,
yibin.gong@nxp.com, Abel Vesa <abelvesa@kernel.org>
Subject: Re: [PATCH v3 4/6] input: pf1550: add onkey support
Date: Thu, 29 May 2025 00:22:37 +0800 [thread overview]
Message-ID: <202505290028.2lbquDkW-lkp@intel.com> (raw)
In-Reply-To: <20250527-pf1550-v3-4-45f69453cd51@savoirfairelinux.com>
Hi Samuel,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 0a4b866d08c6adaea2f4592d31edac6deeb4dcbd]
url: https://github.com/intel-lab-lkp/linux/commits/Samuel-Kayode-via-B4-Relay/dt-bindings-mfd-add-pf1550/20250528-062840
base: 0a4b866d08c6adaea2f4592d31edac6deeb4dcbd
patch link: https://lore.kernel.org/r/20250527-pf1550-v3-4-45f69453cd51%40savoirfairelinux.com
patch subject: [PATCH v3 4/6] input: pf1550: add onkey support
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20250529/202505290028.2lbquDkW-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250529/202505290028.2lbquDkW-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/202505290028.2lbquDkW-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/input/misc/pf1550-onkey.c:153:12: warning: 'pf1550_onkey_resume' defined but not used [-Wunused-function]
153 | static int pf1550_onkey_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~
>> drivers/input/misc/pf1550-onkey.c:126:12: warning: 'pf1550_onkey_suspend' defined but not used [-Wunused-function]
126 | static int pf1550_onkey_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~
vim +/pf1550_onkey_resume +153 drivers/input/misc/pf1550-onkey.c
125
> 126 static int pf1550_onkey_suspend(struct device *dev)
127 {
128 struct platform_device *pdev = to_platform_device(dev);
129 struct onkey_drv_data *onkey = platform_get_drvdata(pdev);
130 struct irq_domain *domain;
131 unsigned int virq;
132 int i;
133
134 domain = regmap_irq_get_domain(onkey->pf1550->irq_data_onkey);
135
136 if (!device_may_wakeup(&pdev->dev)) {
137 regmap_write(onkey->pf1550->regmap,
138 PF1550_PMIC_REG_ONKEY_INT_MASK0,
139 ONKEY_IRQ_PUSHI | ONKEY_IRQ_1SI | ONKEY_IRQ_2SI |
140 ONKEY_IRQ_3SI | ONKEY_IRQ_4SI | ONKEY_IRQ_8SI);
141 } else {
142 for (i = 0; i < PF1550_ONKEY_IRQ_NR; i++) {
143 virq = irq_find_mapping(domain, i);
144
145 if (virq)
146 enable_irq_wake(virq);
147 }
148 }
149
150 return 0;
151 }
152
> 153 static int pf1550_onkey_resume(struct device *dev)
154 {
155 struct platform_device *pdev = to_platform_device(dev);
156 struct onkey_drv_data *onkey = platform_get_drvdata(pdev);
157 struct irq_domain *domain;
158 unsigned int virq;
159 int i;
160
161 domain = regmap_irq_get_domain(onkey->pf1550->irq_data_onkey);
162
163 if (!device_may_wakeup(&pdev->dev)) {
164 regmap_write(onkey->pf1550->regmap,
165 PF1550_PMIC_REG_ONKEY_INT_MASK0,
166 ~((u8)(ONKEY_IRQ_PUSHI | ONKEY_IRQ_1SI |
167 ONKEY_IRQ_2SI | ONKEY_IRQ_3SI | ONKEY_IRQ_4SI |
168 ONKEY_IRQ_8SI)));
169 } else {
170 for (i = 0; i < PF1550_ONKEY_IRQ_NR; i++) {
171 virq = irq_find_mapping(domain, i);
172
173 if (virq)
174 disable_irq_wake(virq);
175 }
176 }
177
178 return 0;
179 }
180
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-05-28 16:23 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-27 22:25 [PATCH v3 0/6] add support for pf1550 PMIC MFD-based drivers Samuel Kayode
2025-05-27 22:25 ` Samuel Kayode via B4 Relay
2025-05-27 22:25 ` [PATCH v3 1/6] dt-bindings: mfd: add pf1550 Samuel Kayode
2025-05-27 22:25 ` Samuel Kayode via B4 Relay
2025-05-28 6:08 ` Krzysztof Kozlowski
2025-05-28 17:48 ` Samuel Kayode
2025-05-27 22:25 ` [PATCH v3 2/6] mfd: pf1550: add core mfd driver Samuel Kayode
2025-05-27 22:25 ` Samuel Kayode via B4 Relay
2025-05-27 22:25 ` [PATCH v3 3/6] regulator: pf1550: add support for regulator Samuel Kayode
2025-05-27 22:25 ` Samuel Kayode via B4 Relay
2025-05-28 10:58 ` Mark Brown
2025-05-29 1:44 ` kernel test robot
2025-05-27 22:25 ` [PATCH v3 4/6] input: pf1550: add onkey support Samuel Kayode
2025-05-27 22:25 ` Samuel Kayode via B4 Relay
2025-05-28 0:20 ` Dmitry Torokhov
2025-06-02 0:42 ` Samuel Kayode
2025-05-28 16:22 ` kernel test robot [this message]
2025-05-27 22:25 ` [PATCH v3 5/6] power: supply: pf1550: add battery charger support Samuel Kayode
2025-05-27 22:25 ` Samuel Kayode via B4 Relay
2025-06-02 18:44 ` Markus Elfring
2025-06-04 14:08 ` Samuel Kayode
2025-05-27 22:25 ` [PATCH v3 6/6] MAINTAINERS: add an entry for pf1550 mfd driver Samuel Kayode
2025-05-27 22:25 ` Samuel Kayode via B4 Relay
2025-05-28 6:10 ` Krzysztof Kozlowski
-- strict thread matches above, loose matches on Subject: below --
2025-05-29 0:10 [PATCH v3 2/6] mfd: pf1550: add core " kernel test robot
2025-06-02 6:08 ` Dan Carpenter
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=202505290028.2lbquDkW-lkp@intel.com \
--to=lkp@intel.com \
--cc=abelvesa@kernel.org \
--cc=abelvesa@linux.com \
--cc=b38343@freescale.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=devnull+samuel.kayode.savoirfairelinux.com@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=eballetbo@gmail.com \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=samuel.kayode@savoirfairelinux.com \
--cc=sre@kernel.org \
--cc=yibin.gong@nxp.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 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.