From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vadim Lomovtsev Subject: Re: [PATCH v2] net: ethernet: cavium: Correct Cavium Thunderx nicvf/nicpf modules names Date: Thu, 18 Jan 2018 10:18:57 -0800 Message-ID: <20180118181857.GA4207@localhost.localdomain> References: <1516290160-3396-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> <1516290789-3585-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Vadim Lomovtsev , Dean Nelson To: sgoutham@cavium.com, rric@kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Content-Disposition: inline In-Reply-To: <1516290789-3585-1-git-send-email-Vadim.Lomovtsev@caviumnetworks.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Self NACK here: modules names has to contain dashes instead of underscores, as it defined at sources (or update modules DRV_NAME definitions whithin the source files with underscores). Shame on me. Vadim On Thu, Jan 18, 2018 at 07:53:09AM -0800, Vadim Lomovtsev wrote: > From: Vadim Lomovtsev > > It was found that ethtool provides unexisting module name while > it queries the specified network device for associated driver > information. > > This patch is to correct Cavium CN88xx Thunder nicvf/nicpf modules > names 'nicvf' to 'thunder_nicvf' and 'nicpf' to 'thunder_nicpf'. > > Signed-off-by: Dean Nelson > Signed-off-by: Vadim Lomovtsev > --- > drivers/net/ethernet/cavium/thunder/Makefile | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/net/ethernet/cavium/thunder/Makefile b/drivers/net/ethernet/cavium/thunder/Makefile > index 6b4d4add7353..f5642337d0fe 100644 > --- a/drivers/net/ethernet/cavium/thunder/Makefile > +++ b/drivers/net/ethernet/cavium/thunder/Makefile > @@ -4,9 +4,9 @@ > > obj-$(CONFIG_THUNDER_NIC_RGX) += thunder_xcv.o > obj-$(CONFIG_THUNDER_NIC_BGX) += thunder_bgx.o > -obj-$(CONFIG_THUNDER_NIC_PF) += nicpf.o > -obj-$(CONFIG_THUNDER_NIC_VF) += nicvf.o > +obj-$(CONFIG_THUNDER_NIC_PF) += thunder_nicpf.o > +obj-$(CONFIG_THUNDER_NIC_VF) += thunder_nicvf.o > > -nicpf-y := nic_main.o > -nicvf-y := nicvf_main.o nicvf_queues.o > -nicvf-y += nicvf_ethtool.o > +thunder_nicpf-y := nic_main.o > +thunder_nicvf-y := nicvf_main.o nicvf_queues.o > +thunder_nicvf-y += nicvf_ethtool.o > -- > 2.14.3 >