lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 5 Feb 2022 15:48:41 +0100 From: Andrew Lunn <andrew@...n.ch> To: Rolf Eike Beer <eike-kernel@...tec.de> Cc: netdev@...r.kernel.org Subject: Re: [PATCH 2/3] sunhme: fix the version number in struct ethtool_drvinfo > > > struct ethtool_drvinfo *info> > > > { > > > > > > struct happy_meal *hp = netdev_priv(dev); > > > > > > - strlcpy(info->driver, "sunhme", sizeof(info->driver)); > > > - strlcpy(info->version, "2.02", sizeof(info->version)); > > > + strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); > > > + strlcpy(info->version, DRV_VERSION, sizeof(info->version)); > > > > I would suggest you drop setting info->version. The kernel will fill > > it with the current kernel version, which is much more meaningful. > > Would it make sense to completely remove the version number from the driver > then? If it is not used anywhere else, yes, you can remove it. Andrew
Powered by blists - more mailing lists