Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1129912pxb; Thu, 4 Mar 2021 04:13:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4sMMWEtKO8P+YxCIhc3rjqYEyvRn8H0H5eA00zBhIqtuaaeyQ4xyRzX/ccfK4yBeo1Air X-Received: by 2002:aa7:c944:: with SMTP id h4mr3904808edt.233.1614859988212; Thu, 04 Mar 2021 04:13:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614859988; cv=none; d=google.com; s=arc-20160816; b=ED5Q+HzgT/BDAfTsCesTqnS7HAacvgMJxIWWO8Uzldc7wvcNWPjwzEjGj7gz6FZuu4 4m8Yyr7YWdi4XJl54q0YZyy44xO6o23qEa9nEkHgY2pEIbvgieLy/Yb1diW16aTlk50J RSed0Ofrm5cRSEMDrqFFwq9ANBBEoBMyutVV5f6Kdw1VYX81lkrD1y0vpcHr0Tr/RrsQ vsWfgEu8Jmlo1qbO/9y6xbruQ6FSF37ZhBluJtuAKdGryrhE+bZVpVY+4dwNX6NsgiJF AVc/rADWmb6n3EAWphdj0fUbtiUkraow5zpyJXz7hDd0XgfNR9BdP2MXUQG1RoeWEZ0K bteg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=pWA/UnvxZ8nUXVzH8qpd313TBpfFtj1H3lPL9SoIsFY=; b=h+nOa298h1uj3HK0nz0qDkHhP81wcr9gY7zJtv6l1eN98VQUD3fBjYJ4PNXb9CptzU cAKH8te828rY94HDbJYiF6UXqhmrlKyRE/p7FT3PxQy+NsEVUl7vz01G75yqb9uFfN0s dzKVZ+iGEUbUu7ig1mMKtJfEKSG6ByAwi7oRKYG2pse5OFu6bwlZQjxGS1+wcdvgY/Xj 9QRQ4xUjrPQMiDWrum5tTKJefeyDzywjbxHDlH0M+vRQWGtrpeECH3Xs2ahrJIljnxK6 lCv8phg8pj2pK6lJ9hvc2dV8bKRWPF2eqW4agJi5qYc/MMZcqVSZXGUIjjqjMGFgsDOC 2SQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hQpDBi9K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w16si8095028edv.532.2021.03.04.04.12.45; Thu, 04 Mar 2021 04:13:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hQpDBi9K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1579882AbhCCSca (ORCPT + 99 others); Wed, 3 Mar 2021 13:32:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:46092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1445786AbhCCQus (ORCPT ); Wed, 3 Mar 2021 11:50:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPS id C97E664ED0; Wed, 3 Mar 2021 16:50:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614790206; bh=vyWmKUOBbS6lHY2tc7qFSUiBwJxzrV0lRzpRy7/2YDE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=hQpDBi9K/5eCdpWyWrMeGXSpuGA2uKWpCzJxN7hUXCk6Wvuwxfn9MeGdgf0zgwDWd FsqZdGrbOBIc9UVVYE8oewGHr01XKcXbH4qES0rmzyZkk7toEDOOt1JHoHz+EAwfio jLOv65KS7Q18aCe3w03b1E8MWyEAbNahG1z8j+KAwbrsAdoBQ0Z9Rypd/fuIahW03A sXQT0kyir+CsWGG8R1G2/I/uutKiJmVdt8FjUw6I5OW1qw7Gxw6l7LJkTiph7nDJ/8 rbdo7/Vn0273TrkyhR2gULoZCn0OS6PiK1tIPFpMlc2Oqanji0frhu9EurdQW8+Wcp RV81KGNJGcxUw== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id BC71F600DF; Wed, 3 Mar 2021 16:50:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning. From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161479020676.31057.2292593478574354971.git-patchwork-notify@kernel.org> Date: Wed, 03 Mar 2021 16:50:06 +0000 References: <20210302194747.21704-1-msuchanek@suse.de> In-Reply-To: <20210302194747.21704-1-msuchanek@suse.de> To: Michal Suchanek Cc: netdev@vger.kernel.org, mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, drt@linux.ibm.com, ljp@linux.ibm.com, sukadev@linux.ibm.com, davem@davemloft.net, kuba@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Tue, 2 Mar 2021 20:47:47 +0100 you wrote: > GCC 7.5 reports: > ../drivers/net/ethernet/ibm/ibmvnic.c: In function 'ibmvnic_reset_init': > ../drivers/net/ethernet/ibm/ibmvnic.c:5373:51: warning: 'old_num_tx_queues' may be used uninitialized in this function [-Wmaybe-uninitialized] > ../drivers/net/ethernet/ibm/ibmvnic.c:5373:6: warning: 'old_num_rx_queues' may be used uninitialized in this function [-Wmaybe-uninitialized] > > The variable is initialized only if(reset) and used only if(reset && > something) so this is a false positive. However, there is no reason to > not initialize the variables unconditionally avoiding the warning. > > [...] Here is the summary with links: - ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning. https://git.kernel.org/netdev/net/c/6881b07fdd24 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html