From: kernel test robot <lkp@intel.com>
To: caohang@eswincomputing.com, gregkh@linuxfoundation.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
Thinh.Nguyen@synopsys.com, p.zabel@pengutronix.de,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
devicetree@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, ningyu@eswincomputing.com,
linmin@eswincomputing.com, pinkesh.vaghela@einfochips.com,
Hang Cao <caohang@eswincomputing.com>,
Senchuan Zhang <zhangsenchuan@eswincomputing.com>
Subject: Re: [PATCH v3 2/2] usb: dwc3: eic7700: Add EIC7700 USB driver
Date: Tue, 16 Sep 2025 01:31:11 +0800 [thread overview]
Message-ID: <202509160138.P7gRM9Bt-lkp@intel.com> (raw)
In-Reply-To: <20250915091051.2148-1-caohang@eswincomputing.com>
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on usb/usb-testing]
[also build test WARNING on usb/usb-next usb/usb-linus robh/for-next pza/reset/next linus/master v6.17-rc6 next-20250912]
[cannot apply to pza/imx-drm/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/caohang-eswincomputing-com/dt-bindings-usb-Add-ESWIN-EIC7700-USB-controller/20250915-171407
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
patch link: https://lore.kernel.org/r/20250915091051.2148-1-caohang%40eswincomputing.com
patch subject: [PATCH v3 2/2] usb: dwc3: eic7700: Add EIC7700 USB driver
config: i386-buildonly-randconfig-003-20250915 (https://download.01.org/0day-ci/archive/20250916/202509160138.P7gRM9Bt-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250916/202509160138.P7gRM9Bt-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/202509160138.P7gRM9Bt-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/usb/dwc3/dwc3-eic7700.c:225:12: warning: 'dwc3_eswin_runtime_idle' defined but not used [-Wunused-function]
225 | static int dwc3_eswin_runtime_idle(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/dwc3-eic7700.c:210:12: warning: 'dwc3_eswin_runtime_resume' defined but not used [-Wunused-function]
210 | static int dwc3_eswin_runtime_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/dwc3-eic7700.c:196:12: warning: 'dwc3_eswin_runtime_suspend' defined but not used [-Wunused-function]
196 | static int dwc3_eswin_runtime_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/dwc3-eic7700.c:181:12: warning: 'dwc3_eswin_pm_resume' defined but not used [-Wunused-function]
181 | static int dwc3_eswin_pm_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/usb/dwc3/dwc3-eic7700.c:166:12: warning: 'dwc3_eswin_pm_suspend' defined but not used [-Wunused-function]
166 | static int dwc3_eswin_pm_suspend(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/dwc3_eswin_runtime_idle +225 drivers/usb/dwc3/dwc3-eic7700.c
165
> 166 static int dwc3_eswin_pm_suspend(struct device *dev)
167 {
168 struct dwc3 *dwc = dev_get_drvdata(dev);
169 struct dwc3_eswin *eswin = to_dwc3_eswin(dwc);
170 int ret;
171
172 ret = dwc3_pm_suspend(&eswin->dwc);
173 if (ret)
174 return ret;
175
176 clk_bulk_disable_unprepare(eswin->num_clks, eswin->clks);
177
178 return 0;
179 }
180
> 181 static int dwc3_eswin_pm_resume(struct device *dev)
182 {
183 struct dwc3 *dwc = dev_get_drvdata(dev);
184 struct dwc3_eswin *eswin = to_dwc3_eswin(dwc);
185 int ret;
186
187 ret = clk_bulk_prepare_enable(eswin->num_clks, eswin->clks);
188 if (ret) {
189 dev_err(dev, "Failed to enable clocks: %d\n", ret);
190 return ret;
191 }
192
193 return dwc3_pm_resume(&eswin->dwc);
194 }
195
> 196 static int dwc3_eswin_runtime_suspend(struct device *dev)
197 {
198 struct dwc3 *dwc = dev_get_drvdata(dev);
199 struct dwc3_eswin *eswin = to_dwc3_eswin(dwc);
200 int ret;
201
202 ret = dwc3_runtime_suspend(&eswin->dwc);
203 if (ret)
204 return ret;
205
206 clk_bulk_disable_unprepare(eswin->num_clks, eswin->clks);
207 return 0;
208 }
209
> 210 static int dwc3_eswin_runtime_resume(struct device *dev)
211 {
212 struct dwc3 *dwc = dev_get_drvdata(dev);
213 struct dwc3_eswin *eswin = to_dwc3_eswin(dwc);
214 int ret;
215
216 ret = clk_bulk_prepare_enable(eswin->num_clks, eswin->clks);
217 if (ret) {
218 dev_err(dev, "Failed to enable clocks: %d\n", ret);
219 return ret;
220 }
221
222 return dwc3_runtime_resume(&eswin->dwc);
223 }
224
> 225 static int dwc3_eswin_runtime_idle(struct device *dev)
226 {
227 return dwc3_runtime_idle(dev_get_drvdata(dev));
228 }
229
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-09-15 17:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 8:53 [PATCH v3 0/2] Add driver support for ESWIN EIC7700 SoC USB controller caohang
2025-09-15 9:10 ` [PATCH v3 1/2] dt-bindings: usb: Add ESWIN EIC7700 " caohang
2025-09-15 17:34 ` Conor Dooley
2025-09-23 4:40 ` Hang Cao
2025-09-24 19:55 ` Conor Dooley
2025-09-26 8:15 ` Hang Cao
2025-09-15 9:10 ` [PATCH v3 2/2] usb: dwc3: eic7700: Add EIC7700 USB driver caohang
2025-09-15 17:31 ` kernel test robot [this message]
2025-09-19 21:14 ` Thinh Nguyen
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=202509160138.P7gRM9Bt-lkp@intel.com \
--to=lkp@intel.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=caohang@eswincomputing.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linmin@eswincomputing.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ningyu@eswincomputing.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=pinkesh.vaghela@einfochips.com \
--cc=robh@kernel.org \
--cc=zhangsenchuan@eswincomputing.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
all inboxes | Powered by JetHome®