diff options
| author | Paolo Abeni <pabeni@redhat.com> | 2026-09-08 11:46:36 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-09-08 11:46:36 +0200 |
| commit | c51fe228121ee32d3a81242119a4195bed027b95 (patch) | |
| tree | eac8811ca75a3423526328531f7f6686135a805a /scripts/basic/split-include.c | |
| parent | ae20d47d2678b48905a4d6cfcf2228075327551e (diff) | |
| parent | 2b6c0e25a3d713c4032e45f212bdd9e14c50f8a0 (diff) | |
| download | linux-c51fe228121ee32d3a81242119a4195bed027b95.tar.gz linux-c51fe228121ee32d3a81242119a4195bed027b95.zip | |
Merge branch 'net-macb-fix-the-link-speed-the-taprio-setup-reads'
Aleksei Sviridkin says:
====================
net: macb: fix the link speed the taprio setup reads
Two small fixes in macb_taprio_setup_replace(), both in how it obtains
the link speed it scales the schedule with.
The first: it hands phylink_ethtool_ksettings_get() a stack variable
it never zeroed, while phylink fills only what the link mode provides
and even reads one field back from the caller. The second: the speed
check is written as "<= 0" on a u32, so SPEED_UNKNOWN passes it and
turns into a 1 ns hardware limit that every entry then exceeds.
Compile-tested against net; the driver has no test surface, and no
macb board here.
====================
Link: https://patch.msgid.link/20260903123652.23900-1-f@lex.la
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
