commit | cf587cfa8b8867b7d696d17cc31c15c8096a71c4 | [log] [tgz] |
---|---|---|
author | Haolin Li <li.haolin@qq.com> | Sat Mar 19 07:02:42 2022 -0700 |
committer | Ramon Fried <ramon@neureality.ai> | Sun Apr 10 08:44:12 2022 +0300 |
tree | e862afffeac1f692ea0a6a9e3d1179b4609533fc | |
parent | 6903d4bcd2fc1ba5a325718a6e4b687ad786f87e [diff] |
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>