diff options
| author | Heiner Kallweit <[email protected]> | 2020-11-15 16:03:10 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-17 10:28:37 -0800 |
| commit | a98cabdb8cb8941965721ee8d4edfaa3c7d427d4 (patch) | |
| tree | 3be582ec236abb48f0440afd6731d32c50f64e66 /tools/perf/scripts/python/compaction-times.py | |
| parent | 83c317d7b36bb3858cf1cb86d2635ec3f3bd6ea3 (diff) | |
net: phy: don't duplicate driver name in phy_attached_print
Currently we print the driver name twice in phy_attached_print():
- phy_dev_info() prints it as part of the device info
- and we print it as part of the info string
This is a little bit ugly, it makes the info harder to read,
especially if the driver name is a little bit longer.
Therefore omit the driver name (if set) in the info string.
Example from r8169 that uses phylib:
old: Generic FE-GE Realtek PHY r8169-300:00: attached PHY driver \
[Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
new: Generic FE-GE Realtek PHY r8169-300:00: attached PHY driver \
(mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions