Re: [PATCH] net/stmmac: Fix typos: 'tx_undeflow_irq' -> 'tx_underflow_irq'
Jakub Raczynski <[email protected]>
| Newsgroups | org.kernel.vger.kernel-janitors,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 22, 2026 at 02:47:38PM +0200, Andrew Lunn wrote: > > I don't see anything wrong with it? > > - naming is correct, same as stmmac_extra_stats from common.h, as it > > wouldn't compile otherwise > > - string length is ok, as max name length is ETH_GSTRING_LEN=32 and it is > > not close > > - ethtool just polls data from driver and in my tests it is ok > > - all instances of 'undeflow' are changed > > - 'underflow' semantic is ok, 'undeflow' is just not correct > > > > Please correct me if I am wrong, but imo no issues with this patch. > > ABI > > This name is published as part of the kAPI. You are changing its > name. User space could be looking for this name, even thought it has a > typo in it. > > Andrew > I don't think it is? This part of extra stats (struct stmmac_extra_stats) and is not part of standard ABI from Documentation/ABI/testing/sysfs-class-net-statistics nor is mentioned in Documentation/networking/device_drivers/ethernet/stmicro/stmmac.rst These extra stats are specific to stmmac driver and most of these are more than standard https://www.kernel.org/doc/html/v7.0/networking/statistics.html#c.rtnl_link_stats64 This name does not exist outside stmmac driver, so while some application may expect this (stmmac specific app), question is should this typo stick? This type of typo is even mentioned in scripts/spelling.txt. Regards Jakub Raczynski