Files
android_kernel_xiaomi_sm8450/drivers/net/ethernet
Ben Dooks (Codethink) c9ad4c1049 net: stmmac: fix argument to stmmac_pcs_ctrl_ane()
The stmmac_pcs_ctrl_ane() expects a register address as
argument 1, but for some reason the mac_device_info is
being passed.

Fix the warning (and possible bug) from sparse:

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17: warning: incorrect type in argument 1 (different address spaces)
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17:    expected void [noderef] <asn:2> *ioaddr
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2613:17:    got struct mac_device_info *hw

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-10-17 15:31:04 -04:00
..
2019-08-08 18:03:42 -07:00
2019-09-25 13:59:43 +02:00
2019-10-17 15:27:29 -04:00
2019-09-24 16:53:19 +02:00
2019-10-13 11:15:25 -07:00
2019-09-21 19:08:31 -07:00
2019-09-21 19:08:31 -07:00