Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1099121ima; Wed, 24 Oct 2018 14:27:31 -0700 (PDT) X-Google-Smtp-Source: AJdET5cKMHIa5kKfYGmkUA/XMFlVzCY+I0+9NFHRLDPswU5RGPj4b0Ug8zYsD2lU5ew4ZPAfEUrF X-Received: by 2002:a63:2315:: with SMTP id j21mr2734852pgj.297.1540416451787; Wed, 24 Oct 2018 14:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540416451; cv=none; d=google.com; s=arc-20160816; b=yzV/7BeHRoqVvyE70T6sfGidHTRwSSVm18FnlMOzJXT/yZteQVCaZFk476zE9SCxB/ e2alHvrSDlXsYacAPcUykq8L+S12ojOVLOsw6YkuChpYRPMDo0UnC+4TbmcdPeDj0QoO pywW0D6RetzI8dkE1I8GvFzwPcT6VGmXuUu3G9ALmbLxbSDZfMgWmLIQNzGTpFiNkmOH xH5mSdUvTY7SDO7KwOytDJfWVV1lssA34n/m76NDrl7o9MhD/L996NJSmgGdtAVOUCoZ oy3TdQNkqUuOdzg84cOqd1fsuWwwkU9oFwA2RWzthExU56AdovHnVJkgTbrS2Uy1lzP2 S5Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=G3yE3oN9jbmUZqjMkVQ9JdMRr5FE2TP8qHt3C0TgEZU=; b=JkkQ+6Fv6zWdxkxZ72wvmljkNb2IAS/4gsPcMfAhchHPI5cBhFf1OSCbUGbK5sy7Ob gSawMtgTykEbT1sfrBDeN9x/LDbIRxurnWcdu6F9RGoKZmYuPRKlfRRcmXehbe8xcHlD AZlrDIRM1zH0HJhNbG0/QitMElgCG1Plp3uocscpsKWp8nAHra2JXeT8xQAKLTpHWgYm Tx8K2Iqq6HHLfyynxAsxcAIv25Qho2ydgTaky3jUVBjohcAlNaddxvRCeuu1BjxKd/Hf y0aR4bt+gajL7rmYEJrdmomhtIuzF43cZJB/wGLV1arU7UgrwZGvrfbmvW8iNELp5/hE XhBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si5861252plu.316.2018.10.24.14.27.16; Wed, 24 Oct 2018 14:27:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727338AbeJYFz6 (ORCPT + 99 others); Thu, 25 Oct 2018 01:55:58 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:41612 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbeJYFz5 (ORCPT ); Thu, 25 Oct 2018 01:55:57 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::cf9]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 98CA91444BA42; Wed, 24 Oct 2018 14:26:15 -0700 (PDT) Date: Wed, 24 Oct 2018 14:26:14 -0700 (PDT) Message-Id: <20181024.142614.177934927090724876.davem@davemloft.net> To: salil.mehta@huawei.com Cc: yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil@opnsrc.net, dan.carpenter@oracle.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, shiju.jose@huawei.com Subject: Re: [PATCH net-next] net: hns3: Fix for warning uninitialized symbol hw_err_lst3 From: David Miller In-Reply-To: <20181024143218.4204-1-salil.mehta@huawei.com> References: <20181024143218.4204-1-salil.mehta@huawei.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 24 Oct 2018 14:26:15 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Salil Mehta Date: Wed, 24 Oct 2018 15:32:18 +0100 > From: Shiju Jose > > This patch fixes the smatch warning, > > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c:700 > hclge_log_and_clear_ppp_error() error: uninitialized symbol > 'hw_err_lst3' > > Link: https://lkml.org/lkml/2018/10/23/430 > > Fixes: da2d072a9ea7 ("net: hns3: Add enable and process hw errors from PPP") > Reported-by: Dan Carpenter > Signed-off-by: Shiju Jose > Signed-off-by: Salil Mehta Applied.