aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2018-12-05 21:49:45 +0100
committerDavid S. Miller <[email protected]>2018-12-05 16:26:16 -0800
commit9db299c736eea35ea97dbc9d80a58befc067bcd8 (patch)
treef0d724457dd46954952c7db156d267beed5e1545 /tools/perf/scripts/python/check-perf-trace.py
parent6dbd0090f999c443763c0742b574da1ce189404c (diff)
net: phy: Fix ioctl handler when modifing MII_ADVERTISE
When the MII_ADVERTISE register is modified by the IOCTL handler, phydev->advertising needs recalculating. Use the _mod_ variant of mii_adv_to_linkmode_adv_t so that bits outside of the advertise registers are not cleared. Fixes: c0ec3c273677 ("net: phy: Convert u32 phydev->lp_advertising to linkmode") Reported-by: Heiner Kallweit <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions