Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1240456rdb; Wed, 20 Sep 2023 03:56:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGALq71GeaecyC2ZrPjiWta9kx52ZrmyW1bosJnkmzQyIoo6xe8HAWkckAwuHAxaqxqiCYI X-Received: by 2002:a17:903:2786:b0:1c5:6309:e1e2 with SMTP id jw6-20020a170903278600b001c56309e1e2mr2081475plb.48.1695207399781; Wed, 20 Sep 2023 03:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695207399; cv=none; d=google.com; s=arc-20160816; b=Jsfu+sdXnnUYlk3XzlYDY/jvIvo/bJsICl1DuJleOf1d7Axfsr/jMXsHZxN3yqZbKf c9EMHMXL+t/x3WE7p3SKun9yM0iU0P2uYgUR39unRToxZGok4Wx6LsN0WEfYwzRhVzQl EE62lNpCKZYt2muf6oThKSR21m4O7gP0A8QcaacjtCvZdn2SPN1mKlGw5m8qeJniAMmH BUNJnMaAdzL8V62Hf2KyaMI1ggmp0t2O+ma0ol/JEy8meBnvuG//yn58BxkFaKhorD+v FeSgwpjwq5HMhh39moOqOnUx6qsSnM/0Yur76TBjwy/hsIKDvwpXIj14+Q0jwgO0i8xI zzYA== 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=cTUW/jK653J9wLB18u9UvVZn9xrQfQJP9ZajGnPzZ30=; fh=7H9jND5kaBpanqj/tOaK9ZGY3x1fnnC/A+0LFn/YcdI=; b=GpPN4ZlQoYDeSDkk02A/Tish2QcTu9BogLVizt5jJDcyHROmqan+JOcH7Kt3zGtCne WlOJQNyMwrU9ya7u2a3GSL3ccTgpp4oSzP85puooME8k3eV4PEjCgs7qUnDlGOECfBKJ XqP9SFkXV2gjuulpsW7cuIHGv4oVRAed8eZVnIPYpAs6NxYopOARZpdGqX3dKZ2TEXRm 0yhSl8doH0oDRBDzqBWowHqTAv7rBDVXVo0b/N0UEJNi8BfmiPoKVNk/NmN/Cl27XMuN +Lxe4LO+KdQDArB1lHO9njr5sCbC3OVdJsYpJ5MmNlFGC6/rsIUaM1XS8vvK9/ba0zNV KVeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n3ka9tx6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u12-20020a170902e5cc00b001bbae3ae2bcsi12231504plf.413.2023.09.20.03.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:56:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n3ka9tx6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8021B8043EEE; Wed, 20 Sep 2023 03:00:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234382AbjITKAi (ORCPT + 99 others); Wed, 20 Sep 2023 06:00:38 -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 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 03:00:58 -0700 (PDT) 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