Re: [PATCH] usb: typec: ucsi: ucsi_glink: Prevent suspend during UCSI notification handling

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb
Message-ID <[email protected]>
Hi Jishnu,

kernel test robot noticed the following build errors:

[auto build test ERROR on 2cb6eac064c8334418a76999468f68696a8dfe71]

url:    https://github.com/intel-lab-lkp/linux/commits/Jishnu-Prakash/usb-typec-ucsi-ucsi_glink-Prevent-suspend-during-UCSI-notification-handling/20260710-182232
base:   2cb6eac064c8334418a76999468f68696a8dfe71
patch link:    https://lore.kernel.org/r/20260710-ucsi_glink_wakeup-v1-1-7d97ea628d92%40oss.qualcomm.com
patch subject: [PATCH] usb: typec: ucsi: ucsi_glink: Prevent suspend during UCSI notification handling
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260711/[email protected]/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project b3e6e6dabdc02153552a64fc74ff5c7532447eed)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260711/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> drivers/usb/typec/ucsi/ucsi_glink.c:352:39: error: no member named 'wakeup' in 'struct dev_pm_info'
     352 |                 pm_wakeup_ws_event(ucsi->dev->power.wakeup,
         |                                    ~~~~~~~~~~~~~~~~ ^
   1 error generated.


vim +352 drivers/usb/typec/ucsi/ucsi_glink.c

   338	
   339	static void pmic_glink_ucsi_callback(const void *data, size_t len, void *priv)
   340	{
   341		struct pmic_glink_ucsi *ucsi = priv;
   342		const struct pmic_glink_hdr *hdr = data;
   343	
   344		switch (le32_to_cpu(hdr->opcode)) {
   345		case UC_UCSI_READ_BUF_REQ:
   346			pmic_glink_ucsi_read_ack(ucsi, data, len);
   347			break;
   348		case UC_UCSI_WRITE_BUF_REQ:
   349			pmic_glink_ucsi_write_ack(ucsi, data, len);
   350			break;
   351		case UC_UCSI_USBC_NOTIFY_IND:
 > 352			pm_wakeup_ws_event(ucsi->dev->power.wakeup,
   353					   UCSI_GLINK_WAKEUP_TIMEOUT_MS, true);
   354			schedule_work(&ucsi->notify_work);
   355			break;
   356		}
   357	}
   358	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.