From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 044A8C61D85 for ; Tue, 21 Nov 2023 15:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5VNMPjF/P53OGyC75KPx9HypAOwYLWu7b5NNp95h0KY=; b=tjzO3wmXD/xhJj o33Hzpo9q2URZccZ7riBrEUbwk3tn8dcjK9Cc1+SL0FMsz5nxEBtU1wrpPZ7xmTO2rdlaUEQ2ugUr kTG8vNcyzpsV6710TeYQr9Ltkx4yPHcE7wziaq29M0TgJJvimyZ/qg2U9bMrpQdd8FrASBfFwY92y 1VX1My82qRpY/13rEPqXposvf9lrtu4PtULlU4LZihZNWnZzI8lvrYJDu6PynrNLJiFowPBlPj5kL warUSdQajQer9jmlQmgH7Do9gGR1NCCS3fI99T16A/JxOtMtp7hb4p0T0EzYIN6KgmH/BC0MFl5/I d/a8twzX2a/FRLdEazWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r5T8T-00HDTO-1O; Tue, 21 Nov 2023 15:58:01 +0000 Received: from mgamail.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r5T8R-00HDRd-1y for linux-arm-kernel@lists.infradead.org; Tue, 21 Nov 2023 15:58:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700582279; x=1732118279; h=date:from:to:cc:subject:message-id:mime-version; bh=0AVzwq7cpyclPUh7cjO7Y4G2ZBF5bOS2+E3WRyl9meA=; b=T1Ikr1vQptboGHJoBrONEuH4BbYAeRkkhvFxshF3eICsud+i/uxA/qn5 jsVLp7utc1dZW7lImGSKuWoHPwdbIAG6nrljoxLefKugE3QmD5uO8t7fn ZVXZAtfMoQHU5uytQjjPXYP2ExwlFhASlxxlF/GKi4XcZIUYvs3rhlZLH donkmpfS7H7giOzFx+58Bbhd6lhNbt0nkGNAb0mMb4LXATJNCxwTFPgyt KBe3a72rnLDgJ6ey/4Ck/NnMwoFkufd7+jgpTC/tLSBvSe/ccEXEbER72 P89Yj9GS0KUPBZawLmbczwWAKG84cBhFSECFE59VW11NdiGI9zNTSBGNP A==; X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="389016666" X-IronPort-AV: E=Sophos;i="6.04,216,1695711600"; d="scan'208";a="389016666" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 07:57:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,216,1695711600"; d="scan'208";a="14946575" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by fmviesa001.fm.intel.com with ESMTP; 21 Nov 2023 07:57:54 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r5T8K-0007yr-1j; Tue, 21 Nov 2023 15:57:52 +0000 Date: Tue, 21 Nov 2023 23:57:09 +0800 From: kernel test robot To: Marc Zyngier Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [arm-platforms:kvm-arm64/nv-6.8-nv2-only 3/50] arch/arm64/kernel/cpufeature.c:2084:10: warning: use of bitwise '|' with boolean operands Message-ID: <202311212300.V9r9WIaO-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231121_075759_657874_A662CB61 X-CRM114-Status: GOOD ( 11.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nv-6.8-nv2-only head: 759d2e18f8954f4c76eb1772f38301df6ed8fa5d commit: 05f8126eff48f8833c39f3dfbd7124047fc9af98 [3/50] arm64: cpufeatures: Restrict NV support to FEAT_NV2 config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20231121/202311212300.V9r9WIaO-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231121/202311212300.V9r9WIaO-lkp@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202311212300.V9r9WIaO-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/arm64/kernel/cpufeature.c:2084:10: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] 2084 | return (__system_matches_cap(ARM64_HAS_NV2) | | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | || 2085 | __system_matches_cap(ARM64_HAS_NV2_ONLY)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/cpufeature.c:2084:10: note: cast one or both operands to int to silence this warning 1 warning generated. vim +2084 arch/arm64/kernel/cpufeature.c 2077 2078 static bool has_nested_virt_support(const struct arm64_cpu_capabilities *cap, 2079 int scope) 2080 { 2081 if (kvm_get_mode() != KVM_MODE_NV) 2082 return false; 2083 > 2084 return (__system_matches_cap(ARM64_HAS_NV2) | 2085 __system_matches_cap(ARM64_HAS_NV2_ONLY)); 2086 } 2087 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel