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 99AECC0219D for ; Mon, 10 Feb 2025 10:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zacIe0rmew4F5eav76d+y3OPAP2guaa7VF0HBR4OV3c=; b=U/+npNYyvgSVPUAk9xPwBeU3us mgY2vhLkHEjYighfQkvVT8iho3zp282yTIMIfZDC/tuJV5Hiegam0FOexPZW4BJfpwG23HWQNbtIt +rgijeFleK61sBLIaVyBa9lDuvHCYh5dvDDwzP+oxfI5l3h85CTjQcO9yVJ0n1W+cRE5jKHS7i1ZK AMWWWC0Z8md4orT5SXb/AuyS4cJNXDpilP0spfAFTDF35sou5Wh2sgP0lgsGfaDXXGrfLYBF6lZYq yvLMj/3MiQ9LeEDsLsHGDfUQWdaLcyxyZsBOqqBwefXqldvnaWKp26kpBPC8AhSHlZpLRQN+Ls5w7 icTDu1ZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1thRJ3-0000000H4QG-2SZq; Mon, 10 Feb 2025 10:46:25 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1thRA5-0000000H2hK-0Djc for linux-arm-kernel@lists.infradead.org; Mon, 10 Feb 2025 10:37:10 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 75448A40FF1; Mon, 10 Feb 2025 10:35:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B843CC4CED1; Mon, 10 Feb 2025 10:37:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739183827; bh=pG6Tqs286wmBxiyIrD2niNQiQm0sXRVyX326LKA8yac=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AGKkoYP5igiaE1J04wDcluloHolkVn+i1DkGIKSRHw/WVHn06EeyuUTTHQFlcTgQy Zm2jZaJJp3/Sb2nPukzabStV9ktJQBSShcHgxRdx/pYdCh0OoQKxX8S1EZDFMbianH nMD0yc6gSeonoa+toHfJEHl62XweOaUvAr89dVAMd9oED8Z9kWvVB3nY/lP0GRChw5 uHKRifwfQbB6Odot3TmdJfSssXjOOSSgB+srR7MWDP04Ss3fKsVhqgWJdKcNjLO9v3 w4MqcV9Oo0HWrsMpLTPvN4MFS9bR1TLSpwvj6TVOnldmhDwp5/ZH1dzSxqsLs+6UlH hJ4EWFlMHmTvA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1thRA1-002VDH-6q; Mon, 10 Feb 2025 10:37:05 +0000 Date: Mon, 10 Feb 2025 10:37:03 +0000 Message-ID: <867c5yt7ao.wl-maz@kernel.org> From: Marc Zyngier To: Quentin Perret Cc: kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvmarm , Oliver Upton Subject: Re: [kvmarm:fixes 18/18] arch/arm64/kvm/hyp/nvhe/mem_protect.c:1086:9: warning: variable 'ret' is uninitialized when used here In-Reply-To: References: <202502100911.8c9DbtKD-lkp@intel.com> <868qqetasm.wl-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.4 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: qperret@google.com, lkp@intel.com, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, oliver.upton@linux.dev X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250210_023709_216824_B31AB207 X-CRM114-Status: GOOD ( 23.20 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 10 Feb 2025 09:44:02 +0000, Quentin Perret wrote: > > On Monday 10 Feb 2025 at 09:21:29 (+0000), Marc Zyngier wrote: > > On Mon, 10 Feb 2025 01:39:04 +0000, > > kernel test robot wrote: > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git fixes > > > head: eabc7aaef7a553b64bf6e631ce04526af6c8d104 > > > commit: eabc7aaef7a553b64bf6e631ce04526af6c8d104 [18/18] KVM: arm64: Simplify np-guest hypercalls > > > config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20250210/202502100911.8c9DbtKD-lkp@intel.com/config) > > > compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) > > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250210/202502100911.8c9DbtKD-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/202502100911.8c9DbtKD-lkp@intel.com/ > > > > > > All warnings (new ones prefixed by >>): > > > > > > >> arch/arm64/kvm/hyp/nvhe/mem_protect.c:1086:9: warning: variable 'ret' is uninitialized when used here [-Wuninitialized] > > > 1086 | return ret; > > > | ^~~ > > > arch/arm64/kvm/hyp/nvhe/mem_protect.c:1076:9: note: initialize the variable 'ret' to silence this warning > > > 1076 | int ret; > > > | ^ > > > | = 0 > > > 1 warning generated. > > > > Nice catch. I wish the compiler would warn for these by default... > > So do I... > > > Quentin, are you happy with the following patch that I can stash on > > top of the current set of fixes? > > Absolutely, thanks for the patch and sorry the mess! > > Reviewed-by: Quentin Perret Now queued and pushed out. LKP people: please fix the mailing address you are using, as it changed over two years ago, and you're still using the old one. Thanks, M. -- Without deviation from the norm, progress is not possible.