]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: use %pe for printing errors
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 1 Mar 2022 08:51:34 +0000 (08:51 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Mar 2022 06:02:21 +0000 (22:02 -0800)
commit4280ee93a68d14c10851f6df3cddbde9d059c1f8
treee4d9c90f2a1aae619d9fc6d6a360db6c5a73e712
parenta06a7a65cb6444f8e84c7004203ecab42b3d842f
net: phylink: use %pe for printing errors

Convert phylink to use %pe for printing error codes, which can print
them as errno symbols rather than numbers.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/E1nOyEI-00Buu8-K9@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c