[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202509160138.P7gRM9Bt-lkp@intel.com>
Date: Tue, 16 Sep 2025 01:31:11 +0800
From: kernel test robot <lkp@...el.com>
To: caohang@...incomputing.com, gregkh@...uxfoundation.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, Thinh.Nguyen@...opsys.com,
p.zabel@...gutronix.de, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, devicetree@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, ningyu@...incomputing.com,
linmin@...incomputing.com, pinkesh.vaghela@...fochips.com,
Hang Cao <caohang@...incomputing.com>,
Senchuan Zhang <zhangsenchuan@...incomputing.com>
Subject: Re: [PATCH v3 2/2] usb: dwc3: eic7700: Add EIC7700 USB driver
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@...el.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
Powered by blists - more mailing lists