summaryrefslogtreecommitdiff
path: root/include/net/compat.h
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-08 21:21:17 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-10 09:39:03 +0300
commitca8bdaf13abbdcbb12ff12164aa2d5b522ec524d (patch)
tree0508576366bb631b58654ec318c3cfc16a648a1c /include/net/compat.h
parent8618e6e79d10863a643101a5d1008d1536ce14b7 (diff)
downloadlinux-ca8bdaf13abbdcbb12ff12164aa2d5b522ec524d.tar.xz
stmmac: fix parameter to dwmac4_set_umac_addr()
The dwmac4_set_umac_addr() takes a struct mac_device_info as the first parameter, but is being passed a ioaddr instead from dwmac4_set_filter(). Fix the warning/bug by changing the first parameter. drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:159:46: warning: incorrect type in argument 1 (different address spaces) drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:159:46: expected struct mac_device_info *hw drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c:159:46: got void [noderef] <asn:2>*ioaddr Note, only compile tested this as do not have any hardware with it in. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/compat.h')
0 files changed, 0 insertions, 0 deletions