lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205231050.yd4wTc2M-lkp@intel.com>
Date:   Mon, 23 May 2022 10:30:24 +0800
From:   kernel test robot <lkp@...el.com>
To:     Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.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.

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@...el.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@...hat.com>
:::::: CC: Dmitry Torokhov <dmitry.torokhov@...il.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ