Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3768183ybl; Mon, 13 Jan 2020 02:14:49 -0800 (PST) X-Google-Smtp-Source: APXvYqwLULxLECiW2rtcqZETkMEKqLZ7N0kTPeojhh7r47GUfbaFUdyhGeQsYjsuu2i8MIBhc0WM X-Received: by 2002:a05:6808:292:: with SMTP id z18mr11509408oic.131.1578910489888; Mon, 13 Jan 2020 02:14:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578910489; cv=none; d=google.com; s=arc-20160816; b=Ny4/ONNdp5hsrNtEQtM8uiiE0fL51xgVrPOaPiF7DoULOwZZJE78CusxSYOEKj63sZ BYi+YZWggfxwQTXtybibKBndam8xXgjyP2bmL+FrAY+92nlwfpDICgsmgB0EujqEO61e 6B157Hgg7AUo0lBVmWzY2EETPdRueawijV0px5AxGxE0f+jBnYwzE6bpeGjbfpQ9QPQE jiCsxgWzKaJIGESE/z82Ywr02BV+2Q4za+7ldCqaU1e58s0R0OYuFYaFm9DvZPFyAO4O ba0vAcdcsTnsrc8nud7yD3yPOuLJChFPsje48hO9Zyi9Fxs+cog3WkAVPPJhjeXjqaKD kjHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=UKSHe5l+wvsT5dsOdqgid8coRV0YJoKYnlvTmRXAAq0=; b=uE3hLWPbZ77ayNmKub+RipBRVwzQ9xPhc3amwrgNw+WAL3U4o7py3XOIPNGCuSb9TZ q2ekI+i7D4ecp5K05dsVtVPoKMae8d6H6j6MjhWmlGEbJJRfJIgyDAkWZ/e3rHudE40r UI2bnzlrr3rxATyQZsIiz6vXZMTsx/xpGiO+rgW82u8ngEwMvRfJ2kqclt0mrkZMJdnw waWn5XUA4SMRkqEVl9wcNuAI44gD462pgdUcK1y21s8SFa+y/pRoQtrzHjB6ax1gqhid 5CyefZFmEQkiJEE/Yl0R6ABt3hzFQtyAclGKgkrmLiNAKSzCv4NdYcsd2e0qu2y3/e5+ FDLg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si7233557otj.24.2020.01.13.02.14.38; Mon, 13 Jan 2020 02:14:49 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728787AbgAMKNf (ORCPT + 99 others); Mon, 13 Jan 2020 05:13:35 -0500 Received: from mga03.intel.com ([134.134.136.65]:10161 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728773AbgAMKNf (ORCPT ); Mon, 13 Jan 2020 05:13:35 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jan 2020 02:13:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,428,1571727600"; d="scan'208";a="397116794" Received: from bong5-hp-z440.png.intel.com ([10.221.118.136]) by orsmga005.jf.intel.com with ESMTP; 13 Jan 2020 02:13:31 -0800 From: Ong Boon Leong To: netdev@vger.kernel.org Cc: Jose Abreu , Giuseppe Cavallaro , Alexandre Torgue , "David S . Miller" , Maxime Coquelin , Ong Boon Leong , Tan Tee Min , Voon Weifeng , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net 3/7] net: stmmac: fix missing netdev->features in stmmac_set_features Date: Tue, 14 Jan 2020 10:01:12 +0800 Message-Id: <1578967276-55956-4-git-send-email-boon.leong.ong@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1578967276-55956-1-git-send-email-boon.leong.ong@intel.com> References: <1578967276-55956-1-git-send-email-boon.leong.ong@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: d2afb5bdffde ("stmmac: fix the rx csum feature") Signed-off-by: Ong Boon Leong --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index cd55d16..dc739cd 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -3911,6 +3911,8 @@ static int stmmac_set_features(struct net_device *netdev, for (chan = 0; chan < priv->plat->rx_queues_to_use; chan++) stmmac_enable_sph(priv, priv->ioaddr, sph_en, chan); + netdev->features = features; + return 0; } -- 2.7.4