From: kernel test robot <lkp@intel.com>
To: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [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.
Date: Mon, 23 May 2022 10:30:24 +0800 [thread overview]
Message-ID: <202205231050.yd4wTc2M-lkp@intel.com> (raw)
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
reply other threads:[~2022-05-23 2:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205231050.yd4wTc2M-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=penguin-kernel@i-love.sakura.ne.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox