diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-03-18 13:54:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-18 16:33:35 -0700 |
commit | 54e73b9c0a88f71ce041a69471b7c4ef9a6a4407 (patch) | |
tree | 22692a15eec6c34a66a9b42cd4fd02ee390119cf /drivers/s390/net | |
parent | 8d145da294a9371c050994bbe6fef98c91e3c072 (diff) | |
download | linux-stable-54e73b9c0a88f71ce041a69471b7c4ef9a6a4407.tar.gz linux-stable-54e73b9c0a88f71ce041a69471b7c4ef9a6a4407.tar.bz2 linux-stable-54e73b9c0a88f71ce041a69471b7c4ef9a6a4407.zip |
s390/qeth: don't report hard-coded driver version
Versions are meaningless for an in-kernel driver.
Instead use the UTS_RELEASE that is set by ethtool_get_drvinfo().
Cc: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/qeth_ethtool.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_ethtool.c b/drivers/s390/net/qeth_ethtool.c index 5cfa371b7426..31e019085fc3 100644 --- a/drivers/s390/net/qeth_ethtool.c +++ b/drivers/s390/net/qeth_ethtool.c @@ -153,7 +153,6 @@ static void qeth_get_drvinfo(struct net_device *dev, strlcpy(info->driver, IS_LAYER2(card) ? "qeth_l2" : "qeth_l3", sizeof(info->driver)); - strlcpy(info->version, "1.0", sizeof(info->version)); strlcpy(info->fw_version, card->info.mcl_level, sizeof(info->fw_version)); snprintf(info->bus_info, sizeof(info->bus_info), "%s/%s/%s", |