[linux-next:master 3857/4552] htmldocs: ./include/net/cfg80211.h:5891: warning: expecting prototype for wiphy_delayed work_flush(). Prototype was for wiphy_delayed_work_flush() instead

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   3c13c772fc233a10342c8e1605ff0855dfdf0c89
commit: 56cfb8ce1f7f6c4e5ca571a2ec0880e131cd0311 [3857/4552] wifi: cfg80211: add flush functions for wiphy work
reproduce: (https://download.01.org/0day-ci/archive/20230913/202309130803.vjwpbJWy-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/202309130803.vjwpbJWy-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> ./include/net/cfg80211.h:5891: warning: expecting prototype for wiphy_delayed work_flush(). Prototype was for wiphy_delayed_work_flush() instead

vim +5891 ./include/net/cfg80211.h

  5853	
  5854	/**
  5855	 * wiphy_delayed_work_queue - queue delayed work for the wiphy
  5856	 * @wiphy: the wiphy to queue for
  5857	 * @dwork: the delayable worker
  5858	 * @delay: number of jiffies to wait before queueing
  5859	 *
  5860	 * This is useful for work that must be done asynchronously, and work
  5861	 * queued here has the special property that the wiphy mutex will be
  5862	 * held as if wiphy_lock() was called, and that it cannot be running
  5863	 * after wiphy_lock() was called. Therefore, wiphy_cancel_work() can
  5864	 * use just cancel_work() instead of cancel_work_sync(), it requires
  5865	 * being in a section protected by wiphy_lock().
  5866	 */
  5867	void wiphy_delayed_work_queue(struct wiphy *wiphy,
  5868				      struct wiphy_delayed_work *dwork,
  5869				      unsigned long delay);
  5870	
  5871	/**
  5872	 * wiphy_delayed_work_cancel - cancel previously queued delayed work
  5873	 * @wiphy: the wiphy, for debug purposes
  5874	 * @dwork: the delayed work to cancel
  5875	 *
  5876	 * Cancel the work *without* waiting for it, this assumes being
  5877	 * called under the wiphy mutex acquired by wiphy_lock().
  5878	 */
  5879	void wiphy_delayed_work_cancel(struct wiphy *wiphy,
  5880				       struct wiphy_delayed_work *dwork);
  5881	
  5882	/**
  5883	 * wiphy_delayed work_flush - flush previously queued delayed work
  5884	 * @wiphy: the wiphy, for debug purposes
  5885	 * @work: the work to flush
  5886	 *
  5887	 * Flush the work (i.e. run it if pending). This must be called
  5888	 * under the wiphy mutex acquired by wiphy_lock().
  5889	 */
  5890	void wiphy_delayed_work_flush(struct wiphy *wiphy,
> 5891				      struct wiphy_delayed_work *dwork);
  5892	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux