summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-09-25 14:05:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-29 10:21:49 +0100
commitcc3db046c0e393556b9ba82151e69a3d3343a4fe (patch)
treeeb0642922f904aa71ef7f41543c1fa5550a759cc /include/linux
parent3f2a1b543304e7a4814e3b33dd7dabd6b5018ede (diff)
net: ethernet: stmmac: Fix signedness bug in ipq806x_gmac_of_parse()
[ Upstream commit 231042181dc9d6122c6faba64e99ccb25f13cc6c ] The "gmac->phy_mode" variable is an enum and in this context GCC will treat it as an unsigned int so the error handling will never be triggered. Fixes: b1c17215d718 ("stmmac: add ipq806x glue layer") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions