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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46ED2CE79B1 for ; Wed, 20 Sep 2023 10:00:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234394AbjITKAk (ORCPT ); Wed, 20 Sep 2023 06:00:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234417AbjITKAe (ORCPT ); Wed, 20 Sep 2023 06:00:34 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06187118 for ; Wed, 20 Sep 2023 03:00:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9E84AC433C7; Wed, 20 Sep 2023 10:00:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695204022; bh=IM7wf+gO7ug5DmTUJ0WDo9+W8X+Ab5iJPeLjoBNCR6M=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=n3ka9tx6xz56a8a99QnUV2EPaQJZLhJxM14WE+m0wZaB8I7OpBi8x5YWGdFte6BQo Pn0AbABlvqM/bhRLBJKZ7yvI0xPT45woC9uk9hR6TKDnrpuUnZx3zepLg4NbC3dWPm HEOASVS6hS36XBw2Bi9t4LRZ0rCHEKeWNbX+W4sOy/ipWb+B7JXtoQqC+mfiQTA5kk SLYaDSrSdRVIV0DxbcF2MUf+hyiTke0RyLGTu1mNBqhVw5hAC6CawLHAu8e0bNjhJa XxBUmBi1avPGlM6O1tuS4UIrcpubwkTXBRd/b8IoAqjGFEPe0fTekUXjoy62Soh65p 4IS5g2UFgnA+Q== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 863A6C41671; Wed, 20 Sep 2023 10:00:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] net: hinic: Fix warning-hinic_set_vlan_fliter() warn: variable dereferenced before check 'hwdev' From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169520402254.26831.13294850741304823650.git-patchwork-notify@kernel.org> Date: Wed, 20 Sep 2023 10:00:22 +0000 References: <20230919022715.6424-1-cai.huoqing@linux.dev> In-Reply-To: <20230919022715.6424-1-cai.huoqing@linux.dev> To: Cai Huoqing Cc: vadim.fedorenko@linux.dev, dan.carpenter@linaro.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.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 (main) by David S. Miller : On Tue, 19 Sep 2023 10:27:15 +0800 you wrote: > 'hwdev' is checked too late and hwdev will not be NULL, so remove the check > > Fixes: 2acf960e3be6 ("net: hinic: Add support for configuration of rx-vlan-filter by ethtool") > Reported-by: Dan Carpenter > Closes: https://lore.kernel.org/r/202309112354.pikZCmyk-lkp@intel.com/ > Signed-off-by: Cai Huoqing > > [...] Here is the summary with links: - [v2] net: hinic: Fix warning-hinic_set_vlan_fliter() warn: variable dereferenced before check 'hwdev' https://git.kernel.org/netdev/net/c/22b6e7f3d6d5 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html