diff options
author | 2022-05-09 22:45:19 +0800 | |
---|---|---|
committer | 2022-05-10 15:18:13 -0700 | |
commit | 12a4d677b1c34717443470c1492fe520638ef39a (patch) | |
tree | c3586e4ae81acfc3c922f6957fe7edf026f1c5a0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | decnet: Use container_of() for struct dn_neigh casts (diff) | |
download | linux-dev-12a4d677b1c34717443470c1492fe520638ef39a.tar.xz linux-dev-12a4d677b1c34717443470c1492fe520638ef39a.zip |
net: phy: micrel: Fix incorrect variable type in micrel
In lanphy_read_page_reg, calling __phy_read() might return a negative
error code. Use 'int' to check the error code.
Fixes: 7c2dcfa295b1 ("net: phy: micrel: Add support for LAN8804 PHY")
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220509144519.2343399-1-wanjiabing@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions