aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
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 /include/net/sock.h
parentnet: openvswitch: select vport upcall portid directly (diff)
downloadlinux-dev-226df3ef1c02a99e7303d91dc27267fae529a820.tar.xz
linux-dev-226df3ef1c02a99e7303d91dc27267fae529a820.zip
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 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions