mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/hid/intel-ish-hid/ishtp/bus.c:853: warning: Function parameter or member 'dev' not described in 'ishtp_wait_resume'
@ 2023-11-06  0:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-06  0:35 UTC (permalink / raw)
  To: Ye Xiang; +Cc: oe-kbuild-all, linux-kernel, Jiri Kosina

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   77fa2fbe87fc605c4bfa87dff87be9bfded0e9a3
commit: e48bf29cf9d6d60d810e2af71e54b71a324094e0 HID: intel-ish-hid: use async resume function
date:   2 years, 4 months ago
config: x86_64-randconfig-004-20230909 (https://download.01.org/0day-ci/archive/20231106/202311060843.dXENYlGc-lkp@intel.com/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/20231106/202311060843.dXENYlGc-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/202311060843.dXENYlGc-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/hid/intel-ish-hid/ishtp/bus.c:853: warning: Function parameter or member 'dev' not described in 'ishtp_wait_resume'


vim +853 drivers/hid/intel-ish-hid/ishtp/bus.c

   844	
   845	/**
   846	 * ishtp_wait_resume() - Wait for IPC resume
   847	 *
   848	 * Wait for IPC resume
   849	 *
   850	 * Return: resume complete or not
   851	 */
   852	bool ishtp_wait_resume(struct ishtp_device *dev)
 > 853	{
   854		/* 50ms to get resume response */
   855		#define WAIT_FOR_RESUME_ACK_MS		50
   856	
   857		/* Waiting to get resume response */
   858		if (dev->resume_flag)
   859			wait_event_interruptible_timeout(dev->resume_wait,
   860							 !dev->resume_flag,
   861							 msecs_to_jiffies(WAIT_FOR_RESUME_ACK_MS));
   862	
   863		return (!dev->resume_flag);
   864	}
   865	EXPORT_SYMBOL_GPL(ishtp_wait_resume);
   866	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-06  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06  0:35 drivers/hid/intel-ish-hid/ishtp/bus.c:853: warning: Function parameter or member 'dev' not described in 'ishtp_wait_resume' kernel test robot

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®