From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD9F5173 for ; Sat, 22 Jan 2022 01:03:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642813392; x=1674349392; h=date:from:to:cc:subject:message-id:mime-version; bh=p6CtIuYmB9Knh+YaUvh8oW7TYmjlpEYCbWhZuupQWhI=; b=GWlzAl3tKgjOyHQoWURqW+003bFHIDmt7ptlcuQwOl5ZWk5FZtiWZhHg 0ANxtJMP4Va7PfGenAPj9uTWukOY3mmpfcvNyuvAQFy0ljDDefNl7/tzr vClZ2bbZz1+ppfcFHvP4F/jknYJESLfN14Q4XZHyLE5vju9iCPBx9CpRe k3/rHyWYSjVTG2CE0lHdeYN8N9MscZHBYaB9HmjJ/h77oWPpBCrUdeUb+ HWiBJp4LFUuXmUcTFSoYGGf5hQQ04V+G/oM/m6lh83N5kezNV4wOAen7u Y7Xk55VXug/kSxBBdtid4haxpIV6f4IEchJj71cmr5TjUPwFzTzGDhHoT w==; X-IronPort-AV: E=McAfee;i="6200,9189,10234"; a="245557897" X-IronPort-AV: E=Sophos;i="5.88,306,1635231600"; d="scan'208";a="245557897" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2022 17:03:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,306,1635231600"; d="scan'208";a="562059812" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 21 Jan 2022 17:03:10 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nB4oA-000Fpz-3V; Sat, 22 Jan 2022 01:03:10 +0000 Date: Sat, 22 Jan 2022 09:03:03 +0800 From: kernel test robot To: John Ogness Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Sebastian Andrzej Siewior Subject: [rt-devel:linux-5.16.y-rt-rebase 16/132] kernel/printk/printk.c:2979:7: warning: variable 'any_usable' set but not used Message-ID: <202201220837.EAj9Nrqa-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.16.y-rt-rebase head: 1722f531f5244c70dcd9687c40729860bb254e8d commit: e1fd5438186d729df636919574f08231f7ecdd1d [16/132] serial: 8250: implement write_atomic config: arm-randconfig-r016-20220121 (https://download.01.org/0day-ci/archive/20220122/202201220837.EAj9Nrqa-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30728816403d1fd73cc5082e9fb761262bce) 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 # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=e1fd5438186d729df636919574f08231f7ecdd1d git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git git fetch --no-tags rt-devel linux-5.16.y-rt-rebase git checkout e1fd5438186d729df636919574f08231f7ecdd1d # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash kernel/printk/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/printk/printk.c:2979:7: warning: variable 'any_usable' set but not used [-Wunused-but-set-variable] bool any_usable = false; ^ 1 warning generated. vim +/any_usable +2979 kernel/printk/printk.c fe3d8ad31cf51b kernel/printk.c Feng Tang 2011-03-22 2975 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2976 #ifdef CONFIG_HAVE_ATOMIC_CONSOLE 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2977 static void atomic_console_flush_all(void) 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2978 { 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 @2979 bool any_usable = false; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2980 unsigned long flags; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2981 struct console *con; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2982 bool any_progress; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2983 int index = 0; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2984 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2985 if (console_suspended) 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2986 return; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2987 :::::: The code at line 2979 was first introduced by commit :::::: 02489ebe320634155c5ddb3110d7d456fa68d304 printk: add infrastucture for atomic consoles :::::: TO: John Ogness :::::: CC: Sebastian Andrzej Siewior --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6593051781990475452==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [rt-devel:linux-5.16.y-rt-rebase 16/132] kernel/printk/printk.c:2979:7: warning: variable 'any_usable' set but not used Date: Sat, 22 Jan 2022 09:03:03 +0800 Message-ID: <202201220837.EAj9Nrqa-lkp@intel.com> List-Id: --===============6593051781990475452== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.g= it linux-5.16.y-rt-rebase head: 1722f531f5244c70dcd9687c40729860bb254e8d commit: e1fd5438186d729df636919574f08231f7ecdd1d [16/132] serial: 8250: imp= lement write_atomic config: arm-randconfig-r016-20220121 (https://download.01.org/0day-ci/archi= ve/20220122/202201220837.EAj9Nrqa-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 7b3d30= 728816403d1fd73cc5082e9fb761262bce) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel= .git/commit/?id=3De1fd5438186d729df636919574f08231f7ecdd1d git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel= /git/rt/linux-rt-devel.git git fetch --no-tags rt-devel linux-5.16.y-rt-rebase git checkout e1fd5438186d729df636919574f08231f7ecdd1d # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Darm SHELL=3D/bin/bash kernel/printk/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/printk/printk.c:2979:7: warning: variable 'any_usable' set but no= t used [-Wunused-but-set-variable] bool any_usable =3D false; ^ 1 warning generated. vim +/any_usable +2979 kernel/printk/printk.c fe3d8ad31cf51b kernel/printk.c Feng Tang 2011-03-22 2975 = 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2976 #ifdef = CONFIG_HAVE_ATOMIC_CONSOLE 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2977 static = void atomic_console_flush_all(void) 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2978 { 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 @2979 bool a= ny_usable =3D false; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2980 unsign= ed long flags; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2981 struct= console *con; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2982 bool a= ny_progress; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2983 int in= dex =3D 0; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2984 = 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2985 if (co= nsole_suspended) 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2986 retur= n; 02489ebe320634 kernel/printk/printk.c John Ogness 2021-12-22 2987 = :::::: The code at line 2979 was first introduced by commit :::::: 02489ebe320634155c5ddb3110d7d456fa68d304 printk: add infrastucture f= or atomic consoles :::::: TO: John Ogness :::::: CC: Sebastian Andrzej Siewior --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6593051781990475452==--