aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-04-14 10:06:05 +0100
committerJakub Kicinski <kuba@kernel.org>2025-04-15 08:36:01 -0700
commita55ec9c811aa25504951113b45e1df60ab6d751c (patch)
tree6dc967f14dbbbbb3b785365fc1d772d11762cc85 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: stmmac: anarion: clean up anarion_config_dt() error handling (diff)
downloadwireguard-linux-a55ec9c811aa25504951113b45e1df60ab6d751c.tar.xz
wireguard-linux-a55ec9c811aa25504951113b45e1df60ab6d751c.zip
net: stmmac: anarion: clean up interface parsing
anarion_config_dt() used a switch statement to check for the RGMII modes, complete with an unnecessary "fallthrough", and also printed the numerical value of the PHY interface mode on error. Clean this up using the phy_interface_mode_is_rgmii() helper, and print the English version of the PHY interface mode on error. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1u4FlV-000XjG-83@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions