aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-06-18 14:46:03 +0100
committerDavid S. Miller <davem@davemloft.net>2020-06-19 20:17:15 -0700
commit5ba33cf4839266f059a6e2342c005709cc6cf256 (patch)
treecb2631b4ca96565ee719aceb8809487982edbb34 /tools/perf/scripts/python
parentnet: phy: add support for probing MMDs >= 8 for devices-in-package (diff)
downloadlinux-5ba33cf4839266f059a6e2342c005709cc6cf256.tar.gz
linux-5ba33cf4839266f059a6e2342c005709cc6cf256.zip
net: phy: set devices_in_package only after validation
Only set the devices_in_package to a non-zero value if we find a valid value for this field, so we avoid leaving it set to e.g. 0x1fffffff. Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions