ethtool: stats: clarify the initialization to ETHTOOL_STAT_NOT_SET
authorJakub Kicinski <kuba@kernel.org>
Mon, 19 Apr 2021 20:03:45 +0000 (13:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2021 23:23:32 +0000 (16:23 -0700)
commitd1f0a5e1fb4e2f2f603bec8df79ca51768f2bdae
tree4ed8d3412ab9993fd934462287423965f612ca12
parent37434782d63f89de5b9c383a449b6a82dc3fa4fb
ethtool: stats: clarify the initialization to ETHTOOL_STAT_NOT_SET

Ido suggests we add a comment about the init of stats to -1.
This is unlikely to be clear to first time readers.

Suggested-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/stats.c