Re: [PATCH v2 4/6] usb: chipidea: imx: add wakeup interrupt handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Xu,

kernel test robot noticed the following build errors:

[auto build test ERROR on shawnguo/for-next]
[also build test ERROR on tty/tty-testing tty/tty-next tty/tty-linus linus/master v6.14-rc4 next-20250225]
[cannot apply to usb/usb-testing usb/usb-next usb/usb-linus]
[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/Xu-Yang/dt-bindings-usb-chipidea-Add-i-MX95-compatible-string-fsl-imx95-usb/20250225-134215
base:   https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next
patch link:    https://lore.kernel.org/r/20250225053955.3781831-5-xu.yang_2%40nxp.com
patch subject: [PATCH v2 4/6] usb: chipidea: imx: add wakeup interrupt handling
config: x86_64-buildonly-randconfig-003-20250226 (https://download.01.org/0day-ci/archive/20250226/202502261559.XexYUCXi-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250226/202502261559.XexYUCXi-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502261559.XexYUCXi-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   drivers/usb/chipidea/ci_hdrc_imx.c: In function 'imx_controller_resume':
>> drivers/usb/chipidea/ci_hdrc_imx.c:633:14: error: implicit declaration of function 'irqd_irq_disabled'; did you mean 'arch_irqs_disabled'? [-Werror=implicit-function-declaration]
     633 |         if (!irqd_irq_disabled(irq_get_irq_data(data->wakeup_irq)))
         |              ^~~~~~~~~~~~~~~~~
         |              arch_irqs_disabled
>> drivers/usb/chipidea/ci_hdrc_imx.c:633:32: error: implicit declaration of function 'irq_get_irq_data'; did you mean 'irq_set_irq_wake'? [-Werror=implicit-function-declaration]
     633 |         if (!irqd_irq_disabled(irq_get_irq_data(data->wakeup_irq)))
         |                                ^~~~~~~~~~~~~~~~
         |                                irq_set_irq_wake
   cc1: some warnings being treated as errors


vim +633 drivers/usb/chipidea/ci_hdrc_imx.c

   616	
   617	static int imx_controller_resume(struct device *dev,
   618							pm_message_t msg)
   619	{
   620		struct ci_hdrc_imx_data *data = dev_get_drvdata(dev);
   621		int ret = 0;
   622	
   623		dev_dbg(dev, "at %s\n", __func__);
   624	
   625		if (!data->in_lpm) {
   626			WARN_ON(1);
   627			return 0;
   628		}
   629	
   630		if (data->plat_data->flags & CI_HDRC_PMQOS)
   631			cpu_latency_qos_add_request(&data->pm_qos_req, 0);
   632	
 > 633		if (!irqd_irq_disabled(irq_get_irq_data(data->wakeup_irq)))
   634			disable_irq_nosync(data->wakeup_irq);
   635	
   636		ret = imx_prepare_enable_clks(dev);
   637		if (ret)
   638			return ret;
   639	
   640		data->in_lpm = false;
   641	
   642		ret = imx_usbmisc_resume(data->usbmisc_data,
   643					 PMSG_IS_AUTO(msg) || device_may_wakeup(dev));
   644		if (ret) {
   645			dev_err(dev, "usbmisc resume failed, ret=%d\n", ret);
   646			goto clk_disable;
   647		}
   648	
   649		return 0;
   650	
   651	clk_disable:
   652		imx_disable_unprepare_clks(dev);
   653		return ret;
   654	}
   655	

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux