diff options
author | Haolin Li <li.haolin@qq.com> | 2022-03-19 07:02:42 -0700 |
---|---|---|
committer | Ramon Fried <ramon@neureality.ai> | 2022-04-10 08:44:12 +0300 |
commit | e2b6cf5cadc0b71f4addbe0019f7da0c8578c194 (patch) | |
tree | e862afffeac1f692ea0a6a9e3d1179b4609533fc /net | |
parent | 5faf161d07099d25fcb67f203c5576f258a11fbf (diff) | |
download | u-boot-e2b6cf5cadc0b71f4addbe0019f7da0c8578c194.zip u-boot-e2b6cf5cadc0b71f4addbe0019f7da0c8578c194.tar.gz u-boot-e2b6cf5cadc0b71f4addbe0019f7da0c8578c194.tar.bz2 |
net: phy: dp83867: Fix a never true comparison
The type of the return value of phy_read() and phy_read_mmd() is int.
Change the variable to not be unsigned so that we not get into an
unsigned compared against 0.
Signed-off-by: Haolin Li <li.haolin@qq.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions