summaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2019-11-06 19:06:50 +0200
committerDavid S. Miller <davem@davemloft.net>2019-11-06 21:29:43 -0800
commit226df3ef1c02a99e7303d91dc27267fae529a820 (patch)
treef5c4c81c1e1df168c55715e9cd637652dc07e3df /net/llc
parent90ce9f23a886bdef7a4b7a9bd52c7a50a6a81635 (diff)
downloadlinux-226df3ef1c02a99e7303d91dc27267fae529a820.tar.bz2
dpaa2-eth: fix an always true condition in dpaa2_mac_get_if_mode
Convert the phy_mode() function to return the if_mode through an argument, similar to the new form of of_get_phy_mode(). This will help with handling errors in a common manner and also will fix an always true condition. Fixes: 0c65b2b90d13 ("net: of_get_phy_mode: Change API to solve int/unit warnings") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions