Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1108833imm; Wed, 1 Aug 2018 10:19:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpekh0t1Torw5CfKzK8pOWN6nRQoP9hyNKygaVuQ0fVY7VJWybsbyWg9U6bUs0oU1IvwSD71 X-Received: by 2002:a65:5907:: with SMTP id f7-v6mr24814374pgu.83.1533143954331; Wed, 01 Aug 2018 10:19:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533143954; cv=none; d=google.com; s=arc-20160816; b=UOTJi5n0i/h8dlzjRCGzRqcQJhf3b/xWdPfxuQuw4iOu1FacjPE6xVRhGuuim4O6Z0 lSwRPzNkWUlOv+K0IodWSxkXo8OCtK/yLlKowSYudUG8rj9Bxs+gXdX+tLlM0es12GIu oAwiNtU/joOMfDrlKmfcfrr+NLfOLGVA8zbn+lVQsAQE6qjklfpWSfHLc3Bi85r5DgFW x7Wa59GVV7RI/PTy5JwpvVLxo2DQji1VfnaqnTRPQu8iCfHv2AdWm1ydgXgN2IuQYrEm 8RM4hrRB3Hx7dZ2C+VtHamut1ToalQBs9kgnJWQbhX6DNdj1AQYroDbXlhs9JWoA4Ap5 GZ/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Sx6a6LYvLNXOfq248O57s0E1nyLSeQfXaBGmWFP/uZA=; b=c/dmlYHaq8ozo5fYU/ZAoCtDyATnOBLn8pOjqWK0E0DSPbhiHo8vWh/DWEBxS9VPCj sTff6y/1bWpIiPgOvn5N4RWEFy2IEyoWUZ994FpBN3S3lCLRLzShVTNZTfFVBsd9+XCZ KR8KSeJy3QxvGK+s0cTR7IbC3K3WUmCtmtAACGrdjoKXmhCaxyE2KJPG2GB/Ltlz0NVD ZWgVkslvoci1hvjHZ9nQv6zWPeAwDLzrRqVlS2LZiKXF+yBqIM8abtduytCPGsAb5l5T mio06St8qlADHzFYv8xb5coMR8vvKvZuP39jl+JYVYmETTY5Nvui9LxvZlc/VYOai6ti DBSg== 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 g4-v6si14026146plt.329.2018.08.01.10.18.59; Wed, 01 Aug 2018 10:19:14 -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 S2404695AbeHATEL (ORCPT + 99 others); Wed, 1 Aug 2018 15:04:11 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46458 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403893AbeHATEK (ORCPT ); Wed, 1 Aug 2018 15:04:10 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id E832DC96; Wed, 1 Aug 2018 17:17:29 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Xi Wang , Peng Li , Salil Mehta , "David S. Miller" , Sasha Levin Subject: [PATCH 4.14 115/246] net: hns3: Fix the missing client list node initialization Date: Wed, 1 Aug 2018 18:50:25 +0200 Message-Id: <20180801165017.209971893@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180801165011.700991984@linuxfoundation.org> References: <20180801165011.700991984@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Xi Wang [ Upstream commit 13562d1f5e2fbe2cf33b23a00abca3f71264c4ac ] This patch fixes the missing initialization of the client list node in the hnae3_register_client() function. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Xi Wang Signed-off-by: Peng Li Signed-off-by: Salil Mehta Signed-off-by: David S. Miller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c @@ -2883,6 +2883,8 @@ static int __init hns3_init_module(void) client.ops = &client_ops; + INIT_LIST_HEAD(&client.node); + ret = hnae3_register_client(&client); if (ret) return ret;