Re: [PATCH] stmmac: fix parameter to dwmac4_set_umac_addr()

2016-06-09 Thread David Miller
From: Ben Dooks Date: Wed, 8 Jun 2016 19:21:17 +0100 > 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/stm

Re: [PATCH] stmmac: fix parameter to dwmac4_set_umac_addr()

2016-06-08 Thread Giuseppe CAVALLARO
On 6/8/2016 8:21 PM, Ben Dooks wrote: 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: wa

[PATCH] stmmac: fix parameter to dwmac4_set_umac_addr()

2016-06-08 Thread Ben Dooks
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 (di