Re: [PATCH -next 1/2] net: bfin_mac: Fix error handling in probe function

From: Andrew Lunn
Date: Sun Jan 10 2016 - 18:58:57 EST


> xlr_net.c also fails to build with
>
> drivers/staging/netlogic/xlr_net.c: In function 'xlr_setup_mdio':
> drivers/staging/netlogic/xlr_net.c:879:21: error: assignment to expression with array type
> priv->mii_bus->irq = kmalloc(sizeof(int)*PHY_MAX_ADDR, GFP_KERNEL);
>
> This might be related to "mdio: Move allocation of interrupts into core",
> though I didn't track it down.

Yes, that was the interrupt change.

I sent a patch which fixes both.

Andrew