Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: octeon: Don't bother filling in ethtool driver version

The version is same as the default, so don't bother filling it in.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240222090042.12609-4-john.g.garry@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

John Garry and committed by
Greg Kroah-Hartman
78152cba c3a41e11

-2
-2
drivers/staging/octeon/ethernet-mdio.c
··· 10 10 #include <linux/phy.h> 11 11 #include <linux/ratelimit.h> 12 12 #include <linux/of_mdio.h> 13 - #include <generated/utsrelease.h> 14 13 #include <net/dst.h> 15 14 16 15 #include "octeon-ethernet.h" ··· 21 22 struct ethtool_drvinfo *info) 22 23 { 23 24 strscpy(info->driver, KBUILD_MODNAME, sizeof(info->driver)); 24 - strscpy(info->version, UTS_RELEASE, sizeof(info->version)); 25 25 strscpy(info->bus_info, "Builtin", sizeof(info->bus_info)); 26 26 } 27 27