diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-09-25 13:55:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-27 10:01:36 +0200 |
commit | 002dfe8085255b7bf1e0758c3d195c5412d35be9 (patch) | |
tree | 0c1919e93759d3572f49587bd362a329a1d36112 /ipc/msgutil.c | |
parent | 286183147666fb76c057836c57d86e9e6f508bca (diff) |
net: hisilicon: Fix signedness bug in hix5hd2_dev_probe()
The "priv->phy_mode" variable is an enum and in this context GCC will
treat it as unsigned to the error handling will never trigger.
Fixes: 57c5bc9ad7d7 ("net: hisilicon: add hix5hd2 mac driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions