Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2198314ybv; Mon, 24 Feb 2020 00:54:32 -0800 (PST) X-Google-Smtp-Source: APXvYqzOOM+HZCN1xJ94odE5rmy3XcwhRzpRMtHPI1Hkv7dINYBnM3zgGs1JWBbvuPWmDdmLF6Oq X-Received: by 2002:a05:6808:4d3:: with SMTP id a19mr11012713oie.119.1582534472035; Mon, 24 Feb 2020 00:54:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582534472; cv=none; d=google.com; s=arc-20160816; b=UYN3bywRmIDi18PVjG0NMYK0loQ+woPyIiLOYaL0Xyb9vQrGbO6/AD7t7h2x8lGD7l W9zhLi4Rmu/hpgwgi4hAc57Kl1SLtnlv4NZAqGL0+LQqct6bjPQEjRpyae2ZSKwSZDFM skZOIz1s+BNkpeDg8uSG7xz6ofm2YAf7EyOlAeLS9KfTgRdDiN8y5lZhOW7lfCM4Fka9 WuhWSgObpMmDukdpnYd0uXT47ghPIPbHSbbQWGiMRDtKDv0kwS4YrZQ0dzJX8h5CZS3c BaWcwR+qQmI3Dwl2BWrFB9ydWlwKXf3wT47eKX1ShVoVdMjeKnKiTZ24D6P+IDr5q8SA vS/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ANdeeKaSimgw/C7DOpJLEq+0nF0fzJ1WU24ah+mZJT4=; b=vmcEAqY04pVC44rbdA33bpUIePyKZRJ9XSUcCEBSCECdO/wL2uU8Tdwpio4ImOH5Gi +DChZ6/F8eA7lXbs7Vt0agTAAtlySFoid1WSKEpUJVw/oG/kziScw5wveGBMoIOUKuX/ F3VqjGTugoEuUIo4Ru0Dbw1sP9Bk2k02J7kNr7mnaIfD9TS7AUbkv6/wUzXG0xH/dbhV E+DfUZm4+4jCsUZ6SIO0MuFcIt5MGPbsTn0anpaw4oBf1Oj7ciZ5UMM1upaEhw5C7/+w 4tJsX4yDdxiYSS+49cOziW6K2uyVImydfXGOV6g6FIQYp8l+MYYzrxluYnc/UcjL3VBJ u0/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VQBE86gm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si5813033oti.249.2020.02.24.00.54.20; Mon, 24 Feb 2020 00:54:32 -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; dkim=pass header.i=@kernel.org header.s=default header.b=VQBE86gm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727763AbgBXIxx (ORCPT + 99 others); Mon, 24 Feb 2020 03:53:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:37228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727655AbgBXIxw (ORCPT ); Mon, 24 Feb 2020 03:53:52 -0500 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0C665222C2; Mon, 24 Feb 2020 08:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582534431; bh=wDd04J+iEhOXCJYxcPWpK+K6rE650aIVNXcP80WLgxk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VQBE86gm/pYpfaRe5yzJ2NwPpYp7HP27+Qr6vSROFZds1Hky63UENJzmjksN0W0ro 3U5lvHx+yQWw12Ol+vwvZS385sRdKe3ZNCl7E9u2as7X03nHw/VBuJ3H2U/dvvbxlc c6aSbg1yvBadAw9cDiWnxhjyOnkHkllzcW9YDcbA= From: Leon Romanovsky To: "David S. Miller" , Jakub Kicinski Cc: Leon Romanovsky , Tom Lendacky , Keyur Chudgar , Don Fry , Veaceslav Falico , Jay Vosburgh , linux-acenic@sunsite.dk, Maxime Ripard , Heiko Stuebner , Mark Einon , Chris Snook , linux-rockchip@lists.infradead.org, Iyappan Subramanian , Igor Russkikh , David Dillow , Netanel Belgazal , Quan Nguyen , Jay Cliburn , Lino Sanfilippo , linux-arm-kernel@lists.infradead.org, Andreas Larsson , Andy Gospodarek , netdev@vger.kernel.org, Thor Thayer , linux-kernel@vger.kernel.org, Ion Badulescu , Arthur Kiyanovski , Jes Sorensen , nios2-dev@lists.rocketboards.org, Chen-Yu Tsai Subject: [PATCH net-next v1 11/18] net/althera: Delete hardcoded driver version Date: Mon, 24 Feb 2020 10:53:04 +0200 Message-Id: <20200224085311.460338-12-leon@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200224085311.460338-1-leon@kernel.org> References: <20200224085311.460338-1-leon@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leon Romanovsky Convert to use default version provided by ethtool. Signed-off-by: Leon Romanovsky --- drivers/net/ethernet/altera/altera_tse_ethtool.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/altera/altera_tse_ethtool.c b/drivers/net/ethernet/altera/altera_tse_ethtool.c index 23823464f2e7..4299f1301149 100644 --- a/drivers/net/ethernet/altera/altera_tse_ethtool.c +++ b/drivers/net/ethernet/altera/altera_tse_ethtool.c @@ -67,7 +67,6 @@ static void tse_get_drvinfo(struct net_device *dev, u32 rev = ioread32(&priv->mac_dev->megacore_revision); strcpy(info->driver, "altera_tse"); - strcpy(info->version, "v8.0"); snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "v%d.%d", rev & 0xFFFF, (rev & 0xFFFF0000) >> 16); sprintf(info->bus_info, "platform"); -- 2.24.1