From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764409AbcLTTJm (ORCPT ); Tue, 20 Dec 2016 14:09:42 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:44060 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934175AbcLTTIL (ORCPT ); Tue, 20 Dec 2016 14:08:11 -0500 Date: Tue, 20 Dec 2016 14:08:09 -0500 (EST) Message-Id: <20161220.140809.1106859712498296957.davem@davemloft.net> To: m-karicheri2@ti.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net 1/2] net: netcp: ethss: fix errors in ethtool ops From: David Miller In-Reply-To: <1482188157-24490-1-git-send-email-m-karicheri2@ti.com> References: <1482188157-24490-1-git-send-email-m-karicheri2@ti.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / 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]); Tue, 20 Dec 2016 10:08:53 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Murali Karicheri Date: Mon, 19 Dec 2016 17:55:56 -0500 > From: WingMan Kwok > > In ethtool ops, it needs to retrieve the corresponding > ethss module (gbe or xgbe) from the net_device structure. > Prior to this patch, the retrieving procedure only > checks for the gbe module. This patch fixes the issue > by checking the xgbe module if the net_device structure > does not correspond to the gbe module. > > Signed-off-by: WingMan Kwok > Signed-off-by: Murali Karicheri > Signed-off-by: Sekhar Nori Applied.