From patchwork Sun Nov 28 18:45:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 12693859 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3D364C433FE for ; Sun, 28 Nov 2021 18:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:From:Cc:To:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GAm4JnAEv8UElc0UcbPKc0EobrYnzHLJrKxY3YbZJI4=; b=HLImRtvJ8InwW4 LHmuabRl3GoiMXhPXrgQFvxGdZY2ltLzCa1qdUf1QgdATEu8z6Pb+DqRiDFXwR07rml/Xon4WCbKD lQZJc8Vc/aDNVBAlPPzN3DUN9Pq5xL2t6mrvnmmGmSAyzzvvgl+nE1UWi+N0njhy5p86WBmy7VXJ5 +MOQKbD/8xVma+rhYhzzujRIofzt13w99f1KnOr/NGApXj3fUr9iwKco/Y0kg9Slf5LOtvRBItqBQ odzjN1z6E7je8VC1SVYfARHopNo83rPBo+ei2GQgFHHXRm7VtDJHxQEQFeGCs+AmNV4PljILUtHBn KKwn7aV1dlWNLmiSYmmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrPBj-00GTwt-FV; Sun, 28 Nov 2021 18:46:11 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrPBf-00GTwb-TP for linux-arm-kernel@lists.infradead.org; Sun, 28 Nov 2021 18:46:09 +0000 Received: by mail-wr1-x42b.google.com with SMTP id a9so31743009wrr.8 for ; Sun, 28 Nov 2021 10:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:content-language:to:cc:from :subject:content-transfer-encoding; bh=BvrdRu7CpTK02nLPvxqfVEBas+3apI+lNY84EOP2k/8=; b=YsHQCTihtW+tD9wORNOWw1uRuhXNfU/HxJbwRRZD2+hrDDytYCYLMniDvNLc+SmKKC CUSe/CmihbmBAhdxlqU8Ppg5tSOG/UHVRTbORXG2gcSWcvMlEZ01nXgeMIMQreGd/3XI tU/dAZjHSMyUR0NAzERbFuwMyVM+AKFf0nlq6gtK9xvupnJaj/r6hWyX7J7EgZLqe0zS zeyrJfywpz61SvoyebizEdXMUTN8cVeb9k0rjDQhB8qXvi+fwlsXZ/TVVlgtIo0UbUgE gcBY0Z6DKNUzCiYUrVaHO3IGeGJ2nceflDvh+T14hEeR3Pss4X4PbheitB2k8f+ecdIn BbyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:from:subject:content-transfer-encoding; bh=BvrdRu7CpTK02nLPvxqfVEBas+3apI+lNY84EOP2k/8=; b=WYKmard9hlMEAdfpF5iKcCBZeltCdfFLimY1WaGjRBzSMMQQdIC8gfjETQKA0gRyXn HE9nvfpdVfmrb5vGXtHM7cbVcB9W6Mzr9cM0kwFKDQykZbZXWU0VFwzShcgFsXU8n1Y7 bpQzI94g/+jvjOOP9SRSFBwOXUpmm7eLlM9wRGpAHkyaYxWe+GpGyXw4J8muxAk7Hb6V ROhXsACsgz5P04SynZYBilcAr0GhwdmmFTFb34mGP52DNLfV2tE8E4oGI5pSWT5sEwtN T4/q7n07A5RcLAxJHBQugu+eQn4KXtI543p7AkC0YLVcc4nc0+JuwBHl6o/vFrJ1Lgcm GFuQ== X-Gm-Message-State: AOAM531+rSMI4/dEkphzie8wrZxrgplDqj8pe+MSTnhyPbZsoJ216ecW XU+tFkyw5+6LJ2RyGOePwFU= X-Google-Smtp-Source: ABdhPJzIR+CZYjXTyOvu+JrlbXO/GL5bJwCevWAIGYmgbwe+Mnw2nokQ2tOaZkjSpgLRJiyTEqDBjw== X-Received: by 2002:a5d:5244:: with SMTP id k4mr27783562wrc.77.1638125165872; Sun, 28 Nov 2021 10:46:05 -0800 (PST) Received: from ?IPV6:2003:ea:8f1a:f00:f5fa:c180:5ee3:5045? (p200300ea8f1a0f00f5fac1805ee35045.dip0.t-ipconnect.de. [2003:ea:8f1a:f00:f5fa:c180:5ee3:5045]) by smtp.googlemail.com with ESMTPSA id az15sm12005237wmb.0.2021.11.28.10.46.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 28 Nov 2021 10:46:05 -0800 (PST) Message-ID: Date: Sun, 28 Nov 2021 19:45:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Content-Language: en-US To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , David Miller , Jakub Kicinski Cc: linux-stm32@st-md-mailman.stormreply.com, "netdev@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" From: Heiner Kallweit Subject: [PATCH net-next] stmmac: remove ethtool driver version info X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211128_104608_003188_653C1BB7 X-CRM114-Status: UNSURE ( 9.03 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org I think there's no benefit in reporting a date from almost 6 yrs ago. Let ethtool report the default (kernel version) instead. Signed-off-by: Heiner Kallweit Reviewed-by: Andrew Lunn --- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 - drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index 689f3cdb2..4f5292cad 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h @@ -10,7 +10,6 @@ #define __STMMAC_H__ #define STMMAC_RESOURCE_NAME "stmmaceth" -#define DRV_MODULE_VERSION "Jan_2016" #include #include diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c index eead45369..164dff5ec 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c @@ -290,7 +290,6 @@ static void stmmac_ethtool_getdrvinfo(struct net_device *dev, strlcpy(info->bus_info, pci_name(priv->plat->pdev), sizeof(info->bus_info)); } - strlcpy(info->version, DRV_MODULE_VERSION, sizeof(info->version)); } static int stmmac_ethtool_get_link_ksettings(struct net_device *dev,