* [tomoyo-tomoyo-test1:master 1/1] drivers/input/mouse/psmouse-smbus.c:320:2: warning: call to __warn_flushing_systemwide_wq declared with 'warning' attribute: Please avoid flushing system-wide workqueues.
@ 2022-05-23 2:30 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-23 2:30 UTC (permalink / raw)
To: Tetsuo Handa; +Cc: llvm, kbuild-all, linux-kernel
tree: git://git.osdn.net/gitroot/tomoyo/tomoyo-test1.git master
head: 84baad17cb8286b6b53b675f8c3d7343ee6a990c
commit: 84baad17cb8286b6b53b675f8c3d7343ee6a990c [1/1] workqueue: Wrap flush_workqueue() using a macro
config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220523/202205231050.yd4wTc2M-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 768a1ca5eccb678947f4155e38a5f5744dcefb56)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add tomoyo-tomoyo-test1 git://git.osdn.net/gitroot/tomoyo/tomoyo-test1.git
git fetch --no-tags tomoyo-tomoyo-test1 master
git checkout 84baad17cb8286b6b53b675f8c3d7343ee6a990c
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/input/mouse/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/input/mouse/psmouse-smbus.c:320:2: warning: call to __warn_flushing_systemwide_wq declared with 'warning' attribute: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
flush_scheduled_work();
^
include/linux/workqueue.h:705:32: note: expanded from macro 'flush_scheduled_work'
#define flush_scheduled_work() flush_workqueue(system_wq)
^
include/linux/workqueue.h:695:3: note: expanded from macro 'flush_workqueue'
__warn_flushing_systemwide_wq(); \
^
1 warning generated.
vim +/warning +320 drivers/input/mouse/psmouse-smbus.c
8eb92e5c91338e Benjamin Tissoires 2017-03-02 316
8eb92e5c91338e Benjamin Tissoires 2017-03-02 317 void psmouse_smbus_module_exit(void)
8eb92e5c91338e Benjamin Tissoires 2017-03-02 318 {
8eb92e5c91338e Benjamin Tissoires 2017-03-02 319 bus_unregister_notifier(&i2c_bus_type, &psmouse_smbus_notifier);
8eb92e5c91338e Benjamin Tissoires 2017-03-02 @320 flush_scheduled_work();
:::::: The code at line 320 was first introduced by commit
:::::: 8eb92e5c91338eb19f86ffb2232258337ebf905b Input: psmouse - add support for SMBus companions
:::::: TO: Benjamin Tissoires <benjamin.tissoires@redhat.com>
:::::: CC: Dmitry Torokhov <dmitry.torokhov@gmail.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-23 2:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-23 2:30 [tomoyo-tomoyo-test1:master 1/1] drivers/input/mouse/psmouse-smbus.c:320:2: warning: call to __warn_flushing_systemwide_wq declared with 'warning' attribute: Please avoid flushing system-wide workqueues 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;
as well as URLs for NNTP newsgroup(s).